Last active
July 15, 2018 20:10
-
-
Save adamgiese/d4d74fd94eef0e1652a9cf2401c17cfd to your computer and use it in GitHub Desktop.
Array Manipulation: Shopping Cart
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 shoppingCart = [ | |
{ | |
name: 'Diet Coke', | |
price: 1.50, | |
quantity: 3, | |
}, | |
{ | |
name: 'Dasani', | |
price: 1, | |
quantity: 2, | |
}, | |
{ | |
name: 'Doritos', | |
price: 3, | |
quantity: 1, | |
} | |
]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment