2311061106/frontend/node_modules/es-abstract/helpers/isNegativeZero.js

7 lines
131 B
JavaScript
Raw Normal View History

2025-12-14 16:02:40 +08:00
'use strict';
// TODO, semver-major: remove
module.exports = function isNegativeZero(x) {
return x === 0 && 1 / x === 1 / -0;
};