2014-11-23 16:15:39 +11:00

6 lines
78 B
JavaScript

function add() {
return [for (i of [1, 2, 3]) i * arguments[0]];
}
add(5);