This website works better with JavaScript
Accueil
Explorer
Aide
Connexion
janedev
/
homework-js
Suivre
1
Voter
0
Fork
0
Fichiers
Tickets
0
Pull Requests
0
Wiki
Branche:
master
Branches
Tags
master
homework-js
/
react
/
node_modules
/
es-abstract
/
helpers
/
sign.js
sign.js
89 B
Lien permanent
Historique
Raw
1
2
3
4
5
'use strict';
module.exports = function sign(number) {
return number >= 0 ? 1 : -1;
};