add login/sign-up page with dark/light mode

This commit is contained in:
pouyan mehdibeik
2026-04-21 14:58:07 +03:30
parent c75b445f03
commit b30a0a6a89
21147 changed files with 4284238 additions and 2 deletions
+14
View File
@@ -0,0 +1,14 @@
'use strict';
var MAX_SAFE_INTEGER = require('math-intrinsics/constants/maxSafeInteger');
var ToInteger = require('./ToInteger');
// https://262.ecma-international.org/6.0/#sec-tolength
module.exports = function ToLength(argument) {
var len = ToInteger(argument);
if (len <= 0) { return 0; } // includes converting -0 to +0
if (len > MAX_SAFE_INTEGER) { return MAX_SAFE_INTEGER; }
return len;
};