Update checked-in dependencies
This commit is contained in:
parent
6b0d45a5c6
commit
cc1adb825a
4247 changed files with 144820 additions and 149530 deletions
4
node_modules/es-abstract/2019/ArrayCreate.js
generated
vendored
4
node_modules/es-abstract/2019/ArrayCreate.js
generated
vendored
|
|
@ -1,6 +1,6 @@
|
|||
'use strict';
|
||||
|
||||
var GetIntrinsic = require('../GetIntrinsic');
|
||||
var GetIntrinsic = require('get-intrinsic');
|
||||
|
||||
var $ArrayPrototype = GetIntrinsic('%Array.prototype%');
|
||||
var $RangeError = GetIntrinsic('%RangeError%');
|
||||
|
|
@ -21,7 +21,7 @@ var $setProto = GetIntrinsic('%Object.setPrototypeOf%', true) || (
|
|||
}
|
||||
);
|
||||
|
||||
// https://www.ecma-international.org/ecma-262/6.0/#sec-arraycreate
|
||||
// https://ecma-international.org/ecma-262/6.0/#sec-arraycreate
|
||||
|
||||
module.exports = function ArrayCreate(length) {
|
||||
if (!IsInteger(length) || length < 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue