source: imaps-frontend/node_modules/core-js/modules/es.array.from.js

main
Last change on this file was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 4 days ago

F4 Finalna Verzija

  • Property mode set to 100644
File size: 518 bytes
Line 
1'use strict';
2var $ = require('../internals/export');
3var from = require('../internals/array-from');
4var checkCorrectnessOfIteration = require('../internals/check-correctness-of-iteration');
5
6var INCORRECT_ITERATION = !checkCorrectnessOfIteration(function (iterable) {
7 // eslint-disable-next-line es/no-array-from -- required for testing
8 Array.from(iterable);
9});
10
11// `Array.from` method
12// https://tc39.es/ecma262/#sec-array.from
13$({ target: 'Array', stat: true, forced: INCORRECT_ITERATION }, {
14 from: from
15});
Note: See TracBrowser for help on using the repository browser.