Created
March 24, 2019 03:49
-
-
Save Damimd10/d33e73f89a8bdbd880fad9e4112ceb3a 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
const superman = { | |
strong: true, | |
power: 120, | |
powerUp: function() { | |
setTimeout(function() { | |
if (this.power) this.power += 10 | |
}, 10) | |
}, | |
} | |
superman.powerUp() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment