Skip to content

Instantly share code, notes, and snippets.

@lelouchB
Last active July 21, 2019 03:08
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 lelouchB/6d00059a9bc8a7fcc3dda3507252bbc2 to your computer and use it in GitHub Desktop.
Save lelouchB/6d00059a9bc8a7fcc3dda3507252bbc2 to your computer and use it in GitHub Desktop.
let firstArray = [1, 2, 3, 'Shinchan']
let secondArray = ['Nohara', 4, 5, 6]
let thirdArray = [7, 8, 9, 'Himawari']
let combinedArray = []
combinedArray.push( firstArray, secondArray, thirdArray)
console.log(`CombinedArray = `+combinedArray)
/* CombinedArray = [ [1,2,3,'Shinchan'],
['Nohara',4,5,6],
[7,8,9,'Himawari'] ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment