2 lines
40 B
JavaScript
2 lines
40 B
JavaScript
var arr = [for (i of [1, 2, 3]) i * i];
|
var arr = [for (i of [1, 2, 3]) i * i];
|