projects
/
yaffs-website
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Version 1
[yaffs-website]
/
node_modules
/
core-js
/
modules
/
_to-integer.js
1
// 7.1.4 ToInteger
2
var ceil = Math.ceil
3
, floor = Math.floor;
4
module.exports = function(it){
5
return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);
6
};