Skip to content

Instantly share code, notes, and snippets.

@shikumiya-hata
Created October 21, 2020 09:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shikumiya-hata/a5150bf8b4c86c2adf84ce4878bb5fd0 to your computer and use it in GitHub Desktop.
Save shikumiya-hata/a5150bf8b4c86c2adf84ce4878bb5fd0 to your computer and use it in GitHub Desktop.
class Foo {
constructor() {
console.log('Foo#constructor()')
}
hoge() {
console.log('Foo#hoge()')
return true
}
}
function foo() { return Foo } // クラスを取得する
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment