Last active
March 14, 2018 19:18
-
-
Save jamesoshea/cc49352dea7abade06b944243ecc8529 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 Question { | |
constructor() { | |
this.answer = "No."; | |
} | |
answerMe() { | |
return this.answer; | |
} | |
} | |
const doesJavaScriptHaveClasses = new Question(); | |
doesJavaScriptHaveClasses.answerMe(); // "No". |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment