Answers for "js concat arrays with redeuce"

1

js concat arrays with redeuce

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

console.log(merged);
Posted by: Guest on April-12-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language