Skip to content

Instantly share code, notes, and snippets.

@kanakiyajay
Created July 13, 2015 06:16
Show Gist options
  • Save kanakiyajay/47640d18c2840fa03275 to your computer and use it in GitHub Desktop.
Save kanakiyajay/47640d18c2840fa03275 to your computer and use it in GitHub Desktop.
Array concatenation into another array
var arrayA = [1, 2];
var arrayB = [3, 4];
var newArray = arrayA.concat(arrayB);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment