EvanEvans (1) [Avatar] Offline
Cool, I found the Errata sticky and it answered my question. smilie Thanks.

I am self-taught through books for PHP, JavaScript, and now AJAX. I want to adopt better coding standards instead of the hack-and-slash way I've been doing things.

I am trying to get a better grip of OO and came upon something in Appendix B (Page 59smilie that has me confused as it may be right, but beyond my understanding.

function MyObject(name,size) {

var myObj=new Object("tiddles","7.5 meters");

Should it be "Object" there, or "MyObject"? I think it should be the latter, but, as I said, I'm new to OO.

Thank you much,

Message was edited by: