Created
April 10, 2018 11:07
-
-
Save colevandersWands/5861e8655c9403adf914f5a11bafa3b0 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
let number = { | |
value: 0, | |
decrement: function() { | |
this.value = this.value - 1; | |
return this.value + 1; | |
}, | |
increment: function() { | |
this.value = this.value + 1; | |
return this.value -1; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment