Updated Introduction to Editor Scripting.md (markdown)
commited
commit
b506c91f4a56d47a6a82639fc0b5ef7b5a6d240a
... | ... | @@ -90,7 +90,7 @@ Now what if we wanted to place all our blocks at once? |
90 | 90 | ## [๐](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Loops_and_iteration)Loops |
91 | 91 | ```js |
92 | 92 | // Set block for each block in the array |
93 | for (let index in myBlocks) { |
|
93 | for (let index of myBlocks) { |
|
94 | 94 | setBlock(index, 0, 2, myBlocks[index]) |
95 | 95 | } |
96 | 96 | ``` |