Jump to content

Apply a callback to an array: Difference between revisions

no edit summary
No edit summary
Line 279:
 
=={{header|Arturo}}==
<lang arturorebol>arr: [1 2 3 4 5]
 
print map arr => *[2*&]</lang>
<lang arturo>arr: [1 2 3 4 5]
 
print map arr => *2</lang>
 
{{out}}
 
<pre>2 4 6 8 10</pre>
 
 
=={{header|AutoHotkey}}==
1,532

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.