The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

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: