UNPKG
@miniu/core-js
Version:
latest (2.6.12)
2.6.12
Standard library
github.com/zloirock/core-js
zloirock/core-js
@miniu/core-js
/
modules
/
_array-species-create.js
7 lines
(5 loc)
•
223 B
JavaScript
View Raw
1
2
3
4
5
6
7
// 9.4.2.3 ArraySpeciesCreate(originalArray, length)
var
speciesConstructor =
require
(
'./_array-species-constructor'
);
module
.
exports
=
function
(
original, length
) {
return
new
(
speciesConstructor
(original))(length); };