📜  在 javascript 代码示例中加入 2 个数组

📅  最后修改于: 2022-03-11 15:01:27.301000             🧑  作者: Mango

代码示例1
var array1 = ["Vijendra", "Singh"];
var array2 = ["Singh", "Shakya"];

console.log(array1.concat(array2));