Created
November 8, 2019 22:06
-
-
Save kjk/17433537eda5bb31d914bd4e984c1511 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
// :glot | |
const cars = ["Model 3", "Leaf", "Bolt"]; | |
console.log("first car:", cars[0]); | |
const mixedTypes = ["string"]; | |
mixedTypes.push(5); | |
console.log("array with mixed types:", mixedTypes); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment