I have two objects that look like this:
var a = [{ id: 0, name: "Zero" }]; var b = [{ id: 1, name: "one", firstName: "First" }], [{ id: 2, name: "two", firstName: "Second" }], [{ id: 3, name: "three", firstName: "Third" }]; I want to concat the two objects in Javascript to look something like this:
var c = [{ id: 0, name: "Zero" }], [{ id: 1, name: "one", firstName: "First" }], [{ id: 2, name: "two", firstName: "Second" }], [{ id: 3, name: "three", firstName: "Third" }]; Is there an easy way to do this?