Ignore:
Timestamp:
01/21/25 03:08:24 (3 days ago)
Author:
stefan toskovski <stefantoska84@…>
Branches:
main
Parents:
0c6b92a
Message:

F4 Finalna Verzija

File:
1 edited

Legend:

Unmodified
Added
Removed
  • imaps-frontend/node_modules/es-abstract/2019/IntegerIndexedElementSet.js

    r0c6b92a r79a0317  
    11'use strict';
    22
     3var $SyntaxError = require('es-errors/syntax');
    34var $TypeError = require('es-errors/type');
    45
     
    89var ToNumber = require('./ToNumber');
    910
    10 var isNegativeZero = require('is-negative-zero');
     11var isNegativeZero = require('math-intrinsics/isNegativeZero');
    1112var typedArrayBuffer = require('typed-array-buffer');
    1213var typedArrayByteOffset = require('typed-array-byte-offset');
     
    2526        if (!arrayTypeName) {
    2627                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
    2731        }
    2832
Note: See TracChangeset for help on using the changeset viewer.