filmov
tv
#12 Array.prototype.flat() | JavaScript | Frontend | Take it easy #shorts
Показать описание
#JavaScript #Frontend #shorts
codepen
MDN
```
const arr1 = [0, 1, 2, [3, 4]]
const arr2 = [0, 1, [[2]], [[[3]]]]
```
codepen
MDN
```
const arr1 = [0, 1, 2, [3, 4]]
const arr2 = [0, 1, [[2]], [[[3]]]]
```