Keryx Web skrev:
JavaScript has no pure hash-tables, aka associative arrays. Object properties can be used to emulate associative arrays, though. A PHP programmer will feel very limited, though.

A JavaScript object *is* not an array ...
It can have methods as well as properties.

<geekspeak>
Nitpicking on myself. JavaScript makes no real distinction between a property value that is a function (and therefore becomes an object method) and property values that simply store a simple type. i.e. a method *is* a property, that stores a function, which is possible since they are "first class objects".
</geekspeak>


Lars Gunther


*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

Reply via email to