Status: New
Owner: ----

New issue 2379 by [email protected]: Assigning to an out-of-bounds array index when length is non-writable should be rejected
http://code.google.com/p/v8/issues/detail?id=2379

var arr = [];
Object.defineProperty(arr, 'length', { writable: false });
arr.length = 10; // should throw
arr[5]  = 5; // should throw, but doesn't.

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

Reply via email to