Last active
November 13, 2017 00:51
-
-
Save charpeni/f00638dcf38e18d70837823a83a8302b to your computer and use it in GitHub Desktop.
This file contains hidden or 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 A { | |
constructor() { | |
this.counter = 0; | |
this.handleClick = () => { | |
this.counter++; | |
}; | |
} | |
handleLongClick() { | |
this.counter++; | |
} | |
} | |
A.color = "red"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment