Sebastian McKenzie b0cfbb20ca add iterators
2014-09-29 14:51:33 +10:00

4 lines
43 B
JavaScript

arr.map(function (x) {
return x * x;
});