Apply a callback to an array: Difference between revisions
→{{header|JavaScript}}
(→TI-89 BASIC: new example) |
|||
Line 667:
Functional.map('x*x*x', [1,2,3,4,5])
</lang>
=={{header|Joy}}==
<lang joy>
[1 2 3 4 5] [dup *] map.
</lang>
=={{header|Logo}}==
<lang logo>
|