0 points

Merge array of array into one


dashboard

Thu Jul 09 2020 11:26:41 GMT+0000 (UTC)

Posted by @salitha.pathi #javascript

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

console.log(y)
content_copy Copy