#12 Array.prototype.flat() | JavaScript | Frontend | Take it easy #shorts

preview_player
Показать описание
#JavaScript #Frontend #shorts

codepen

MDN

```
const arr1 = [0, 1, 2, [3, 4]]

const arr2 = [0, 1, [[2]], [[[3]]]]
```
Рекомендации по теме