Loops/Foreach: Difference between revisions
Content deleted Content added
→{{header|Java}}: Added alternative java solution using Java 8 features |
Add Jsish |
||
Line 1,247:
3
*/</lang>
=={{header|Jsish}}==
Jsi supports ''for of'' for looping over element of an array.
<lang javascript>for (str of "alpha beta gamma delta".split(' ')) { puts(str); }</lang>
{{out}}
<pre>alpha
beta
gamma
delta</pre>
=={{header|Julia}}==
|