javascript Programming Glossary: tsomeobj
Prototype or inline, what is the difference? http://stackoverflow.com/questions/6163186/prototype-or-inline-what-is-the-difference is using the prototype declaration like this function TSomeObj this.name my object TSomeObj.prototype.showname function alert.. like this function TSomeObj this.name my object TSomeObj.prototype.showname function alert this.name Basically the same.. Basically the same as doing it like this function TSomeObj this.name my object this.showname function alert this.name When..
|