Skip to content

Instantly share code, notes, and snippets.

@Jaballadares
Created May 14, 2015 06:43
Show Gist options
  • Save Jaballadares/40905ae23b93c6024e35 to your computer and use it in GitHub Desktop.
Save Jaballadares/40905ae23b93c6024e35 to your computer and use it in GitHub Desktop.
Joining Arrays - Teamtreehouse Javascript
var currentStudents = ['Joan', 'John', 'Joaquin'];
var newStudents = ['Samantha', 'Traci', 'Tiago'];
var allStudents = currentStudents.concat( newStudents );
console.log(allStudents);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment