📜  js concat arrays with redeuce - Javascript 代码示例

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

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

console.log(merged);