Last active
July 21, 2019 03:04
-
-
Save lelouchB/63c9ea71da3ade3e46e9946bb68868bd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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