source: frontend/node_modules/has-bigints/index.js

Last change on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 11 days ago

Fix frontend appearance

  • Property mode set to 100644
File size: 374 bytes
Line 
1'use strict';
2
3var $BigInt = typeof BigInt !== 'undefined' && BigInt;
4
5/** @type {import('.')} */
6module.exports = function hasNativeBigInts() {
7 return typeof $BigInt === 'function'
8 && typeof BigInt === 'function'
9 && typeof $BigInt(42) === 'bigint' // eslint-disable-line no-magic-numbers
10 && typeof BigInt(42) === 'bigint'; // eslint-disable-line no-magic-numbers
11};
Note: See TracBrowser for help on using the repository browser.