blob: e7b14bea45daf76cb6ea5689b17d98e577fff8a9 [file] [log] [blame]
(function() {
var exception;
try {
var list = { 'a' : 5 };
for(const { x = x } in list)
x();
} catch (e) {
exception = e;
}
if (exception != "ReferenceError: Cannot access uninitialized variable.")
throw "FAILED";
})();