const top = [1,2]; const bottom = [3,4]; const combined = top.concat(bottom); console.log('combined=' + JSON.stringify(combined));Outputs:
combined=[1,2,3,4]
const top = [1,2]; const bottom = [3,4]; const combined = top.concat(bottom); console.log('combined=' + JSON.stringify(combined));Outputs:
combined=[1,2,3,4]