Skip to content

Instantly share code, notes, and snippets.

@fxfactorial
Last active August 22, 2018 21:40
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 fxfactorial/d76ea5baa9e5da6bbef8b99ba30c8099 to your computer and use it in GitHub Desktop.
Save fxfactorial/d76ea5baa9e5da6bbef8b99ba30c8099 to your computer and use it in GitHub Desktop.
this language..
class T {
[() => {}]() {
return 10;
}
}
class T_ {
[() => {}] = () => ({});
}
console.log(new T()[() => {}]());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment