1 min readMay 29, 2018
Hi Nicolas Charpentier: I ran the above mentioned class in babel repl with ES2017 statge 2 preset and found out different outputs.
Both the value (handleClick and handleLongClick )will be undefined as we are defining any thing in A.protyotype. If we definne any function or variable in prototype, then only we we will be able to access them in prototype chain.
This is my understanding. Could you please comment on that ?.