source:
trip-planner-front/node_modules/core-js/modules/esnext.math.signbit.js
Last change on this file was 6a3a178, checked in by , 3 years ago | |
---|---|
|
|
File size: 257 bytes |
Line | |
---|---|
1 | var $ = require('../internals/export'); |
2 | |
3 | // `Math.signbit` method |
4 | // https://github.com/tc39/proposal-Math.signbit |
5 | $({ target: 'Math', stat: true }, { |
6 | signbit: function signbit(x) { |
7 | return (x = +x) == x && x == 0 ? 1 / x == -Infinity : x < 0; |
8 | } |
9 | }); |
Note:
See TracBrowser
for help on using the repository browser.