Loops/Foreach: Difference between revisions

m
(Add Jsish)
Line 837:
 
=={{header|Elena}}==
ELENA 3.4.x :
<lang elena>import system'routines.;
import extensions.;
public program()
{
[
var things := (new string[]{"Apple", "Banana", "Coconut").};
things .forEach(:(thing)
[{
console .printLine:thing
]}
]}</lang>
 
=={{header|Elixir}}==
Anonymous user