I've been attempting to merge multiple arrays into one unified array using Javascript, but it seems that my current method is not quite up to par. Consider the following three arrays:
var array_1 = [{"a" : 1, "b" : 2, "c" : 3}];
var array_2 = [{"d" : 4, "e" : 5, "f" : 6}];
var array_3 = new Array();
My goal is to combine array_1, followed by array_2, into array_3. Meaning, I'd like array_1 to be fully merged first and then array_2, resulting in the following structure:
{"a" : 1, "b" = 2, "c" = 3"}
{"d" : 4, "e" = 5, "f" = 6"}
If anyone could lend a hand with this coding challenge, it would be greatly appreciated.