Legend:
- Unmodified
- Added
- Removed
-
imaps-frontend/node_modules/es-abstract/2023/ArrayCreate.js
r0c6b92a r79a0317 7 7 var $SyntaxError = require('es-errors/syntax'); 8 8 var $TypeError = require('es-errors/type'); 9 10 var isInteger = require('../helpers/isInteger'); 11 12 var MAX_ARRAY_LENGTH = Math.pow(2, 32) - 1; 13 14 var hasProto = require('has-proto')(); 15 16 var $setProto = GetIntrinsic('%Object.setPrototypeOf%', true) || ( 17 hasProto 18 ? function (O, proto) { 19 O.__proto__ = proto; // eslint-disable-line no-proto, no-param-reassign 20 return O; 21 } 22 : null 23 ); 9 var isInteger = require('math-intrinsics/isInteger'); 10 var MAX_ARRAY_LENGTH = require('math-intrinsics/constants/maxArrayLength'); 11 var $setProto = require('set-proto'); 24 12 25 13 // https://262.ecma-international.org/12.0/#sec-arraycreate
Note:
See TracChangeset
for help on using the changeset viewer.