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
/
_math-sign.js
1
// 20.2.2.28 Math.sign(x)
2
module.exports = Math.sign || function sign(x){
3
return (x = +x) == 0 || x != x ? x : x < 0 ? -1 : 1;
4
};