isNegativeZero.js 143 Bytes BlameHistoryPermalink Edit 1 2 3 4 5 6 'use strict'; /** @type {import('./isNegativeZero')} */ module.exports = function isNegativeZero(x) { return x === 0 && 1 / x === 1 / -0; };