comment co-berner un tableau en js

let arr;
arr = [1,2,[1,2,3]]
// and you can use any of array methods like push , shift
Outstanding Ocelot