Here follows a list of operators that applies to objects: In this list, o and o2 are used to represent object expressions, and s is a string expression:
o[s] | indexing, returns the identifier named s in the object o, |
an identifier is a global variable or a function. | |
o[s]=c | This sets the global variable s int the object o to c, if s is a function however, an error is produced. |
o->foo | same as o["foo"] |
o == o2 | return 1 if o and o2 are the same object |
o != o2 | return 0 if o and o2 are the same object |