yz3456
2024-05-10 cfc5c31ecc778a783f4a8954fc94104c681e9855
1
2
3
4
5
6
// 9.4.2.3 ArraySpeciesCreate(originalArray, length)
var speciesConstructor = require('./_array-species-constructor');
 
module.exports = function (original, length) {
  return new (speciesConstructor(original))(length);
};