Array
Created
July 8, 2021 04:25
-
-
Save luisenriquecorona/b2adca242b99d2003c61cbf60e8e6dd7 to your computer and use it in GitHub Desktop.
Cars and Trucks
This file contains hidden or 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 cars = ['π', 'π']; | |
const trucks = ['π', 'π']; | |
const combined = cars.concat(trucks); | |
// [ 'π', 'π', 'π', 'π' ] | |
console.log(cars); | |
console.log(trucks); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment