Created
July 28, 2019 07:38
-
-
Save jasongorman/32dae00cfd743228b67486af434b343c 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
if(paymentAccepted){ | |
this.stock -= 1; | |
customer.addToCollection(this); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment