4 lines
43 B
JavaScript
4 lines
43 B
JavaScript
arr.map(function (x) {
|
|
return x * x;
|
|
});
|
arr.map(function (x) {
|
|
return x * x;
|
|
});
|