2008/10/24 Anthony Ziebell <[EMAIL PROTECTED]>: > JavaScript objects are augmented with prototype. It should be noted that the > example you provided also notes that the dot notation is merely syntactic > sugar - meaning it is just a little bit of eye-candy which provides no extra > functionality. > > JavaScript objects are merely arrays. This is why they are not real objects. > Objects and arrays are totally different.
Actually, they are hash tables/dictionaries/maps or whatever word you prefer to call them by. Anyway, they are sparse string keyed objects of variable size and not dense integer keyed arrays of fixed size. In fact, true arrays are only available in JavaScript in the form of strings, and those are read only. -- David "liorean" Andersson ******************************************************************* List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] *******************************************************************
