Community
Participate
Working Groups
This works: function MyClass() {} MyClass.prototype = { /** * @private */ myfunc : function() {} }; But this no: function MyClass() { /** * @private */ this.myfunc = function() {} }