Source code
Revision control
Copy as Markdown
Other Tools
x = [];
x[6] = 0;
Object.preventExtensions(x);
// Don't assert.
x.length = 1;
x = [];
x[6] = 0;
Object.preventExtensions(x);
// Don't assert.
x.length = 1;