清空
This commit is contained in:
1 parent
7c2ab0b7ad
commit
cff33ad7d1
6370 files changed
+378844
-82245
No files matched your search
+12
@@ -0,0 +1,12 @@
|
||||
'use strict';
|
||||
var $ = require('../internals/export');
|
||||
|
||||
// `Math.signbit` method
|
||||
// https://github.com/tc39/proposal-Math.signbit
|
||||
$({ target: 'Math', stat: true, forced: true }, {
|
||||
signbit: function signbit(x) {
|
||||
var n = +x;
|
||||
// eslint-disable-next-line no-self-compare -- NaN check
|
||||
return n === n && n === 0 ? 1 / n === -Infinity : n < 0;
|
||||
}
|
||||
});
|
||||
Reference in new issue
Block a user