> I think it's poor that CanvasPixelArray silently drops out-of-range accesses > on the floor, and was hoping to get some better behavior for these new > array-like types.
As a general statement I agree, and for a language like Java it would obviously be the right thing to do, but this just isn't how things are done in JavaScript. It will not be what the users of your api will expect. The way to improve JavaScript is to participate in the discussion on the es-discuss mailing list, not for each new library to impose its own unique view of how JavaScript should be. Did I mention that I feel quite strongly about language and api design? --~--~---------~--~----~------------~-------~--~----~ v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev -~----------~----~----~----~------~----~------~--~---
