Merging arrays is a fairly common occurrence. I remember when I worked a lot with PHP I would use array_merge() all the time. I found myself merging arrays often when handling form submission. Using an Array.prototype method, push in this case, allows you to merge two arrays.
Full article