Legend:
- Unmodified
- Added
- Removed
-
imaps-frontend/node_modules/es-abstract/2015/IntegerIndexedElementSet.js
r0c6b92a r79a0317 1 1 'use strict'; 2 2 3 var $SyntaxError = require('es-errors/syntax'); 3 4 var $TypeError = require('es-errors/type'); 4 5 … … 8 9 var ToNumber = require('./ToNumber'); 9 10 10 var isNegativeZero = require(' is-negative-zero');11 var isNegativeZero = require('math-intrinsics/isNegativeZero'); 11 12 var typedArrayBuffer = require('typed-array-buffer'); 12 13 var typedArrayByteOffset = require('typed-array-byte-offset'); … … 25 26 if (!arrayTypeName) { 26 27 throw new $TypeError('`O` must be a TypedArray'); // step 2 28 } 29 if (arrayTypeName === 'BigInt64Array' || arrayTypeName === 'BigUint64Array') { 30 throw new $SyntaxError('BigInt64Array and BigUint64Array do not exist until ES2020'); // step 2 27 31 } 28 32
Note:
See TracChangeset
for help on using the changeset viewer.