UNPKG

firescript

Version:
29 lines (20 loc) 293 B
for...of ======== The `for...of` loop iterates over iterable objects, arrays or strings. Syntax ------ ``` for [variable] of [iterable] [body] ``` ### Firescript ```fire for let item of arr console.log(item) ``` #### Output ```js for (let item of arr) { console.log(item); } ```