source: trip-planner-front/node_modules/core-js/internals/array-species-create.js

Last change on this file was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 313 bytes
Line 
1var arraySpeciesConstructor = require('../internals/array-species-constructor');
2
3// `ArraySpeciesCreate` abstract operation
4// https://tc39.es/ecma262/#sec-arrayspeciescreate
5module.exports = function (originalArray, length) {
6 return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);
7};
Note: See TracBrowser for help on using the repository browser.