2014-10-13 03:29:50 +11:00

6 lines
78 B
JavaScript

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