Update article.md
This commit is contained in:
parent
ccc0e9327f
commit
0f386b1848
1 changed files with 7 additions and 7 deletions
|
@ -139,7 +139,7 @@ for(let char of str) {
|
|||
|
||||
Normally, internals of iterables are hidden from the external code. There's a `for..of` loop, that works, that's all it needs to know.
|
||||
|
||||
But to understand things a little bit more deeper let's see how to create an iterator explicitly.
|
||||
But to understand things a little bit deeper let's see how to create an iterator explicitly.
|
||||
|
||||
We'll iterate over a string the same way as `for..of`, but with direct calls. This code gets a string iterator and calls it "manually":
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue