3 lines
62 B
Text
3 lines
62 B
Text
|
|
var a = [1, 2, 3, 4, 5];
|
||
|
|
a.map(function(v) { return v * v; })
|