EvanEvans (1) [Avatar] Offline
#1
<***Edit***>
Cool, I found the Errata sticky and it answered my question. smilie Thanks.
</***Edit***>

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");
myObj.tellSize
--------------------------------------------

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,
Evan

Message was edited by:
EvanEvans
447374 (1) [Avatar] Offline
#2
I really enjoy simply reading all of your post. Simply wanted to inform you that you have people like me who appreciate your work. Definitely a great post. Hats off to you! As a staff of voucher codes uk, the information that you have provided is very helpful.Thank you.