```js
let x = [0, 1, 2];
let y = [3, 4, 5];

// Expected
[ for (i of [x, y]) ...i ];


// Reality
Array.prototype.concat(...[ for (x of [x, y]) i ]);


// Result
[0, 1, 2, 3, 4, 5]
```

Is there any discussion on this subject?
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to