DEV Community

Discussion on: An introduction to MojiScript's enhanced map

Collapse
 
codaroma profile image
codaroma

is it not map(func)(values)?
one of your examples shows
map (range (1) (4)) (double) //=> [2, 4, 6]
looks the wrong way round to me. is this an error?

Collapse
 
joelnet profile image
JavaScript Joel

Good catch! I have updated the post. Cheers! 🍻