Skip to content

Instantly share code, notes, and snippets.

@charliewilco
Created July 9, 2018 04:41
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 charliewilco/21934dca9b550840aab2121ef0641849 to your computer and use it in GitHub Desktop.
Save charliewilco/21934dca9b550840aab2121ef0641849 to your computer and use it in GitHub Desktop.
class Something {
static reporter() {
console.log('hello')
}
privateVar = false
privateMethod = (x) => Boolean(x) && !== this.update(x)
update = (x) => this.privateVar = x
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment