Created
November 15, 2017 01:16
-
-
Save charpeni/f2662ac2518c4b53f636213e1fc17d68 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 D extends A { | |
} | |
console.log(D.prototype); | |
// A {constructor: ƒ} | |
console.log(D.prototype.__proto__); | |
// {constructor: ƒ, handleLongClick: ƒ} | |
new D().handleClick(); | |
// A.handleClick |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment