javascript Programming Glossary: subobjmaker.prototype
What is the 'new' keyword in JavaScript? http://stackoverflow.com/questions/1646698/what-is-the-new-keyword-in-javascript like a subclass then you do this SubObjMaker function SubObjMaker.prototype new ObjMaker Because we used 'new' the prototype property of.. ObjMaker Because we used 'new' the prototype property of SubObjMaker.prototype is now set to a copy of ObjMaker.prototype SubObjMaker.prototype.c.. is now set to a copy of ObjMaker.prototype SubObjMaker.prototype.c 'third' obj2 new SubObjMaker prototype property of obj2 is..
|