I know in PHP I can use the array_merge
function to do this, but let's say I have two arrays like this:
var arr1 = [1, 2, 3];
var arr2 = [4, 5, 6];
How do I merge these two arrays into another array arr3
so that it looks like this:
var arr3 = [1, 2, 3, 4, 5, 6];
Thank you