biofriction-wp-theme/node_modules/core-js/modules/_array-species-create.js

7 lines
223 B
JavaScript
Raw Normal View History

2021-10-26 14:18:09 +02:00
// 9.4.2.3 ArraySpeciesCreate(originalArray, length)
var speciesConstructor = require('./_array-species-constructor');
module.exports = function (original, length) {
return new (speciesConstructor(original))(length);
};