Reputation: 994
I want to call Constructor A prototype in my code:
var A = function () { // ? call to A.prototype.a }; A.prototype.a = function () { // print };
Upvotes: 0
Views: 23
Reputation: 1588
var A = function () { // ? call to A.prototype.a this.a(); };
Upvotes: 1