javascript Programming Glossary: errormessageclass
Setting methods through prototype object or in constructor, difference? http://stackoverflow.com/questions/422476/setting-methods-through-prototype-object-or-in-constructor-difference If I take the MessageClass above and extend it function ErrorMessageClass ErrorMessageClass.prototype new MessageClass errorMsg new ErrorMessageClass.. above and extend it function ErrorMessageClass ErrorMessageClass.prototype new MessageClass errorMsg new ErrorMessageClass Then.. ErrorMessageClass.prototype new MessageClass errorMsg new ErrorMessageClass Then errorMsg will have a getPrivate and setPrivate method on..
|