Created
October 21, 2020 08:36
-
-
Save shikumiya-hata/7a35708b7d53a63521f977baf8eb04bf 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 Foo { | |
constructor() { | |
console.log('Foo#constructor()') | |
} | |
hoge() { | |
console.log('Foo#hoge()') | |
return true | |
} | |
} | |
this.foo = Foo // クラスをglobal領域にセットする |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment