Sign in
apache
/
nifi-fds
/
954e729fbbf531ccabbbc6d1c1c2ea6135b371eb
/
.
/
node_modules
/
jszip
/
node_modules
/
core-js
/
library
/
modules
/
_to-length.js
blob: 4099e60b59f9dfad3bfe0d5d3fc29ba64991b102 [
file
] [
log
] [
blame
]
// 7.1.15 ToLength
var
toInteger
=
require
(
'./_to-integer'
)
,
min
=
Math
.
min
;
module
.
exports
=
function
(
it
){
return
it
>
0
?
min
(
toInteger
(
it
),
0x1fffffffffffff
)
:
0
;
// pow(2, 53) - 1 == 9007199254740991
};