[Solved] How to concatenate this array [duplicate]


const bidder= [
  [1,2,3,4],
  [5,6,7,8]
]

const arr1 = [9,10,11,12];
const result = [...bidder, arr1];
console.log(result);

You can use spread operator to spread whatever is in bidder array and add your other array as the last one in a new array.

solved How to concatenate this array [duplicate]