Last change
on this file since b738035 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
504 bytes
|
Line | |
---|
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 | });
|
---|
Note:
See
TracBrowser
for help on using the repository browser.