This website works better with JavaScript
Página Principal
Explorar
Ajuda
Registe-se
Iniciar Sessão
lvjunxi
/
node_modules
Vigiar
2
Colocar Estrela
0
Fork
0
Ficheiros
Problemas
0
Pull Requests
0
Wiki
Ramo:
master
Ramos
Etiquetas
master
node_modules
/
underscore.string
/
helper
/
toPositive.js
toPositive.js
92 B
Link permanente
Histórico
Em bruto
1
2
3
module.exports = function toPositive(number) {
return number < 0 ? 0 : (+number || 0);
};