Leo Balter d1261bb49d Update files for the curation process
Remove more stress tests with existing coverage or out of context for test262
2018-09-11 18:20:20 -04:00

25 lines
401 B
JavaScript

// Reviewed
function foo() {
return {
get: function () { },
set: Object,
};
}
var exception;
try {
Object.defineProperties({}, {
2: foo(),
0: foo(),
1: foo(),
' ': foo(),
9: foo(),
B: 'B',
});
} catch (e) {
exception = e;
}
if (exception != "TypeError: Property description must be an object.")
throw "FAILED";