Updated Introduction to Editor Scripting.md (markdown)
commited
commit
650222b6fb62d3b9d6bf0e98f92b01d10eeeb367
... | ... | @@ -98,7 +98,7 @@ for (let index of myBlocks) { |
98 | 98 | ``` |
99 | 99 | 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. |
100 | 100 | |
101 | Take note that there are also other kinds of loop iterators. In our example, we have used a [for...of](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Loops_and_iteration/#for...of statement) statement. |
|
101 | Take note that there are also other kinds of loop iterators. In our example, we have used a [for...of](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Loops_and_iteration/#for...of_statement) statement. |
|
102 | 102 | |
103 | 103 | ## [๐](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures/#Objects)Objects |
104 | 104 | ```js |