Created
December 20, 2018 17:29
-
-
Save chris-sev/665cf59c7430f5ab77e0708d31ba3d1e to your computer and use it in GitHub Desktop.
Combining Arrays
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
const months = ['March', 'April', 'May']; | |
const otherMonths = ['June', 'July']; | |
const totalMonths = months.concat(otherMonths); | |
console.log(totalMonths); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment