Sha256: ae34c4a1370ce0d4d6cc50b81cbb2abdddd3f048376ebe83c43f830d3df24459

Contents?: true

Size: 179 Bytes

Versions: 66

Compression:

Stored size: 179 Bytes

Contents

// 20.2.2.28 Math.sign(x)
module.exports = Math.sign || function sign(x) {
  // eslint-disable-next-line no-self-compare
  return (x = +x) == 0 || x != x ? x : x < 0 ? -1 : 1;
};

Version data entries

66 entries across 30 versions & 8 rubygems

Version Path
immosquare-cleaner-0.1.52 node_modules/core-js/library/modules/_math-sign.js
immosquare-cleaner-0.1.52 node_modules/core-js/modules/_math-sign.js
immosquare-cleaner-0.1.51 node_modules/core-js/modules/_math-sign.js
immosquare-cleaner-0.1.51 node_modules/core-js/library/modules/_math-sign.js
immosquare-cleaner-0.1.50 node_modules/core-js/library/modules/_math-sign.js
immosquare-cleaner-0.1.50 node_modules/core-js/modules/_math-sign.js
immosquare-cleaner-0.1.49 node_modules/core-js/library/modules/_math-sign.js
immosquare-cleaner-0.1.49 node_modules/core-js/modules/_math-sign.js
immosquare-cleaner-0.1.48 node_modules/core-js/library/modules/_math-sign.js
immosquare-cleaner-0.1.48 node_modules/core-js/modules/_math-sign.js
immosquare-cleaner-0.1.47 node_modules/core-js/library/modules/_math-sign.js
immosquare-cleaner-0.1.47 node_modules/core-js/modules/_math-sign.js
immosquare-cleaner-0.1.46 node_modules/core-js/library/modules/_math-sign.js
immosquare-cleaner-0.1.46 node_modules/core-js/modules/_math-sign.js
immosquare-cleaner-0.1.45 node_modules/core-js/library/modules/_math-sign.js
immosquare-cleaner-0.1.45 node_modules/core-js/modules/_math-sign.js
immosquare-cleaner-0.1.44 node_modules/core-js/library/modules/_math-sign.js
immosquare-cleaner-0.1.44 node_modules/core-js/modules/_math-sign.js
immosquare-cleaner-0.1.43 node_modules/core-js/library/modules/_math-sign.js
immosquare-cleaner-0.1.43 node_modules/core-js/modules/_math-sign.js