Initial Save
This commit is contained in:
11
node_modules/has-bigints/index.js
generated
vendored
Normal file
11
node_modules/has-bigints/index.js
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
'use strict';
|
||||
|
||||
var $BigInt = typeof BigInt !== 'undefined' && BigInt;
|
||||
|
||||
/** @type {import('.')} */
|
||||
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