source:
frontend/node_modules/es-abstract/helpers/isNegativeZero.js
| Last change on this file was 9af201e, checked in by , 12 days ago | |
|---|---|
|
|
| File size: 131 bytes | |
| Line | |
|---|---|
| 1 | 'use strict'; |
| 2 | |
| 3 | // TODO, semver-major: remove |
| 4 | module.exports = function isNegativeZero(x) { |
| 5 | return x === 0 && 1 / x === 1 / -0; |
| 6 | }; |
Note:
See TracBrowser
for help on using the repository browser.
