UNPKG

330 BJavaScriptView Raw
1'use strict';
2var arrayFromConstructorAndList = require('../internals/array-from-constructor-and-list');
3var typedArraySpeciesConstructor = require('../internals/typed-array-species-constructor');
4
5module.exports = function (instance, list) {
6 return arrayFromConstructorAndList(typedArraySpeciesConstructor(instance), list);
7};