Answers for "merge array within an array"

0

merge array within an array

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

console.log(merged);
 Run code snippet
Posted by: Guest on October-18-2021

Code answers related to "merge array within an array"

Code answers related to "Javascript"

Browse Popular Code Answers by Language