Sign in
apache
/
cordova-osx
/
6d00379c5b0ff30714987ad3172e30356620105b
/
.
/
node_modules
/
nyc
/
node_modules
/
core-js
/
library
/
modules
/
_to-integer.js
blob: 3d50f97dd80ac988356e1da1af91b2e9fcd44ac6 [
file
] [
log
] [
blame
]
// 7.1.4 ToInteger
var
ceil
=
Math
.
ceil
;
var
floor
=
Math
.
floor
;
module
.
exports
=
function
(
it
)
{
return
isNaN
(
it
=
+
it
)
?
0
:
(
it
>
0
?
floor
:
ceil
)(
it
);
};