blob: a952caf1c8f9ca00c4419b79eda5fd83084e4bb7 [file] [log] [blame]
y = new Float32Array(11);
x = [];
Object.defineProperty(x, 18, {
get: (function() {
y.length;
}),
});
this.toSource();
y = undefined;
for (var i = 0; i < 3; i++) {
try {
x.toString();
assertEq(0, 1);
} catch (e) {
assertEq(e.message, "y is undefined");
}
}