projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Version 1
[yaffs-website]
/
node_modules
/
core-js
/
modules
/
_math-sign.js
diff --git a/node_modules/core-js/modules/_math-sign.js
b/node_modules/core-js/modules/_math-sign.js
new file mode 100644
(file)
index 0000000..
a4848df
--- /dev/null
+++ b/
node_modules/core-js/modules/_math-sign.js
@@ -0,0
+1,4
@@
+// 20.2.2.28 Math.sign(x)
+module.exports = Math.sign || function sign(x){
+ return (x = +x) == 0 || x != x ? x : x < 0 ? -1 : 1;
+};
\ No newline at end of file