Re:Silly Javascript
by invisible on Sunday July 26, 2009 @01:32AM
(#724090)
Yes and no (as you said). Just expanding: Arrays are an instance of Object with a few specialized methods. Therefore, you can (but should not) assign keys with values to the array and it will apply correctly. However, then you lose a great deal of the advantage of it being an Array.
[ Parent
| on HN ]
There are no comments on this comment yet.