> then x[10000] = 10000, even though x.length = 3.  It violates the
> principle of least surprise that canvas arrays behaves differently.

That being said, inconsistent behavior is the hallmark of JS so maybe
being consistent would actually be more surprising than being wildly
inconsistent...

--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to