Legend:
- Unmodified
- Added
- Removed
-
imaps-frontend/node_modules/es-abstract/2024/ThisBigIntValue.js
r0c6b92a r79a0317 1 1 'use strict'; 2 2 3 var callBound = require('call-b ind/callBound');3 var callBound = require('call-bound'); 4 4 5 5 var $SyntaxError = require('es-errors/syntax'); … … 10 10 module.exports = function ThisBigIntValue(value) { 11 11 if (typeof value === 'bigint') { 12 return value; // step 112 return value; 13 13 } 14 14 15 if (!$bigIntValueOf) { 15 16 throw new $SyntaxError('BigInt is not supported'); 16 17 } 18 17 19 return $bigIntValueOf(value); 18 20 };
Note:
See TracChangeset
for help on using the changeset viewer.