-
-
Save codecademydev/7dafe01dcddaf316f3ce7a48701c9a71 to your computer and use it in GitHub Desktop.
Codecademy export
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 groceryList = ['orange juice', 'bananas', 'coffee beans', 'brown rice', 'pasta', 'coconut oil', 'plantains']; | |
let ShortgroceryList = groceryList.shift() | |
console.log(ShortgroceryList) | |
console.log(groceryList.shift()) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment