This website works better with JavaScript
Home
Explore
Help
Register
Sign In
chenbaoxin
/
Regulations_Front_Vue_Two
Watch
1
Star
0
Fork
0
Files
Issues
0
Pull Requests
0
Wiki
Branch:
main
Branches
Tags
main
Regulations_Fro...
/
node_modules
/
es-abstract
/
helpers
/
sign.js
sign.js
89 B
Permalink
History
Raw
1
2
3
4
5
'use strict';
module.exports = function sign(number) {
return number >= 0 ? 1 : -1;
};