How to add a property to prototype with class expression. I can do it with the older method:
function Example(){}
Example.prototype.property = 'PROPERTY'
But I don't know how can I do the same thing with class expression
How to add a property to prototype with class expression. I can do it with the older method:
function Example(){}
Example.prototype.property = 'PROPERTY'
But I don't know how can I do the same thing with class expression