massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / core-js / internals / array-from-constructor-and-list.js
1 module.exports = function (Constructor, list) {
2   var index = 0;
3   var length = list.length;
4   var result = new Constructor(length);
5   while (length > index) result[index] = list[index++];
6   return result;
7 };