Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
development:javascript:looping [2020/10/12 17:50] kalenpw [For x in y] |
development:javascript:looping [2021/06/29 15:03] (current) kalenpw |
||
|---|---|---|---|
| Line 18: | Line 18: | ||
| ---- | ---- | ||
| - | ===== For x of y ===== | + | ===== for x of y ===== |
| Used for strings, arrays, array-like objects | Used for strings, arrays, array-like objects | ||
| <code javascript> | <code javascript> | ||
| Line 27: | Line 27: | ||
| } | } | ||
| - | // output: | + | // " |
| - | // output: | + | // " |
| - | // output: | + | // " |
| </ | </ | ||
| + | ---- | ||