RosettaCodeData/Task/Higher-order-functions/CoffeeScript/higher-order-functions-1.co...

2 lines
32 B
CoffeeScript

double = [1,2,3].map (x) -> x*2