Skip to content

Instantly share code, notes, and snippets.

@woliveiras
Created January 12, 2017 10:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save woliveiras/a95f3fab606fd3d0bcf7c42823f7d991 to your computer and use it in GitHub Desktop.
Save woliveiras/a95f3fab606fd3d0bcf7c42823f7d991 to your computer and use it in GitHub Desktop.
var arr1 = [0, 1, 2];
var arr2 = [3, 4, 5];
arr1.push(arr2); // 4
console.log(arr1) // [0, 1, 2, Array[3]]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment