Apply a callback to an array: Difference between revisions

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

edits