Initial commit
This commit is contained in:
10
node_modules/has-bigints/index.js
generated
vendored
Normal file
10
node_modules/has-bigints/index.js
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
'use strict';
|
||||
|
||||
var $BigInt = typeof BigInt !== 'undefined' && BigInt;
|
||||
|
||||
module.exports = function hasNativeBigInts() {
|
||||
return typeof $BigInt === 'function'
|
||||
&& typeof BigInt === 'function'
|
||||
&& typeof $BigInt(42) === 'bigint' // eslint-disable-line no-magic-numbers
|
||||
&& typeof BigInt(42) === 'bigint'; // eslint-disable-line no-magic-numbers
|
||||
};
|
Reference in New Issue
Block a user