index.js 122 B

123456
  1. 'use strict';
  2. module.exports = function isNegativeZero(number) {
  3. return number === 0 && (1 / number) === -Infinity;
  4. };