Updated Introduction to Editor Scripting.md (markdown)
commited
commit
546748c3ab2da9ed930ef2318e2f8259fd95f67f
... | ... | @@ -96,7 +96,7 @@ for (let index of myBlocks) { |
96 | 96 | ``` |
97 | 97 | This time, the line starts with a `for` loop expression. Inside this expression, we create a variable `index` and assign it to each index in the array. The code inside the curly braces will then be repeated for each new index. This is similar to using a [[Loop]] block with the array length as input. |
98 | 98 | |
99 | Take note that there are also other kinds of loop iterators. In our example we have used the [for...of](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Loops_and_iteration/#For...of_statement) loop. |
|
99 | Take note that there are also other kinds of loop iterators. In our example we have used the [for...of](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Loops_and_iteration/#for...of statement) loop. |
|
100 | 100 | |
101 | 101 | ## [๐](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures/#Objects)Objects |
102 | 102 | ```js |