setup-php/node_modules/es-abstract/helpers/sign.js
Shivam Mathur 8f9786b73f init
2019-09-06 05:17:43 +05:30

6 lines
89 B
JavaScript

'use strict';
module.exports = function sign(number) {
return number >= 0 ? 1 : -1;
};