|
|
|
|
|
by robocat
4195 days ago
|
|
Arrays are full objects e.g. function(){ var x = []; x.foo = "bar"; return x.foo;} returns "bar". That is the whole reason prototype.js library broke the use of for (var x in somearray) because the library set properties on Array.prototype. |
|