Last active
March 20, 2020 03:49
-
-
Save kluu1/fded16ba1e8fa02a1e5cf4e052d2ba5a 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
| const veggies = ['kale', 'carrots', 'tomato', 'broccoli', 'mushrooms']; | |
| console.log(veggies.indexOf('tomato')); // 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment