Skip to content

Instantly share code, notes, and snippets.

@charpeni
Last active November 13, 2017 00:50
Show Gist options
  • Save charpeni/0cdff49434c43a957df66eafe6eaeec2 to your computer and use it in GitHub Desktop.
Save charpeni/0cdff49434c43a957df66eafe6eaeec2 to your computer and use it in GitHub Desktop.
class A {
static color = "red";
counter = 0;
handleClick = () => {
this.counter++;
}
handleLongClick() {
this.counter++;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment