Created
January 8, 2019 23:51
-
-
Save robertcoopercode/91827ed415b254e89e828e89cbf6a77e to your computer and use it in GitHub Desktop.
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
let myFavoriteTuple: [string, number, boolean]; | |
myFavoriteTuple = ['chair', 20, true]; // ✅ | |
myFavoriteTuple = [5, 20, true]; // ❌ - The first element should be a string, not a number |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment