last changes

This commit is contained in:
fahed
2026-02-16 10:59:55 +03:00
parent e92f11241d
commit 9bb4ecb0dd
808 changed files with 106431 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
'use strict';
var $isNaN = require('./isNaN');
/** @type {import('./sign')} */
module.exports = function sign(number) {
if ($isNaN(number) || number === 0) {
return number;
}
return number < 0 ? -1 : +1;
};