Jump to content

Apply a callback to an array: Difference between revisions

m
(→‎BQN: add)
imported>Arakov
Line 1,123:
 
=={{header|Elena}}==
ELENA 56.0x :
<syntaxhighlight lang="elena">import system'routines;
 
Line 1,130:
public program()
{
new int[]{1, 2, 3, 4, 5, 6, 7, 8, 9, 10}.forEach:(PrintSecondPower)
}</syntaxhighlight>
 
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.