Created
January 16, 2019 12:41
-
-
Save DominicGBauer/bb441f1de3eab0d9081ec4cb8fc6ea26 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
class Master { | |
tenThousandHours(sweat) { | |
this.sweat = sweat; | |
} | |
grind() { | |
console.log(this.sweat); | |
} | |
} | |
const yoda = new Master(); | |
yoda.tenThousandHours('sweaty, knees weak, arms are heavy'); | |
yoda.grind(); | |
const grind = yoda.grind; | |
grind(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment