Created
April 17, 2020 16:43
-
-
Save iceener/379890df9e582055cc1b47333773088c to your computer and use it in GitHub Desktop.
TypeScript 01-finished
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 Avenger { | |
constructor(name) { | |
this.name = name; | |
} | |
} | |
const hero = new Avenger("Steve Rogers"); | |
hero.name; /*?*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment