📜  在数组中合并数组 - Javascript 代码示例

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

代码示例1
var arrays = [
  ["$6"],
  ["$12"],
  ["$25"],
  ["$25"],
  ["$18"],
  ["$22"],
  ["$10"]
];
var merged = [].concat.apply([], arrays);

console.log(merged);
 Run code snippet