massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / core-js / modules / es.array.from.js
1 var $ = require('../internals/export');
2 var from = require('../internals/array-from');
3 var checkCorrectnessOfIteration = require('../internals/check-correctness-of-iteration');
4
5 var INCORRECT_ITERATION = !checkCorrectnessOfIteration(function (iterable) {
6   // eslint-disable-next-line es/no-array-from -- required for testing
7   Array.from(iterable);
8 });
9
10 // `Array.from` method
11 // https://tc39.es/ecma262/#sec-array.from
12 $({ target: 'Array', stat: true, forced: INCORRECT_ITERATION }, {
13   from: from
14 });