Merge array of array into one

PHOTO EMBED

Thu Jul 09 2020 11:26:41 GMT+0000 (Coordinated Universal Time)

Saved by @salitha.pathi #javascript

const x = [
    [
        1, 2, 3
    ],
    [
        5, 6, 7
    ],
    [
        'a','b'
    ]
]
const y = [].concat(...x)

console.log(y)
content_copyCOPY