JavaScript如何合并两个数组

const merge = (a, b) => a.concat(b);
const merge = (a, b) => [...a, ...b];