Currying: Difference between revisions
Content added Content deleted
(→{{header|JavaScript}}: Fixed menu indentation) |
|||
Line 707: | Line 707: | ||
====Simple 2 and N argument versions==== |
====Simple 2 and N argument versions==== |
||
In the most rudimentary form, for example for mapping two-argument |
In the most rudimentary form, for example for mapping a two-argument function over an array: |
||
<lang JavaScript>(() => { |
<lang JavaScript>(() => { |