Merge pull request #2406 from Georgy-Losenkov/patch-1
Update article.md
This commit is contained in:
commit
1404669cae
1 changed files with 1 additions and 1 deletions
|
@ -174,7 +174,7 @@ When we use JavaScript for practical tasks in a browser or any other environment
|
|||
|
||||
For instance, strings are both iterable (`for..of` works on them) and array-like (they have numeric indexes and `length`).
|
||||
|
||||
But an iterable may not be array-like. And vice versa an array-like may not be iterable.
|
||||
But an iterable may be not array-like. And vice versa an array-like may be not iterable.
|
||||
|
||||
For example, the `range` in the example above is iterable, but not array-like, because it does not have indexed properties and `length`.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue