Source code
Revision control
Copy as Markdown
Other Tools
// |jit-test| error: ReferenceError
var t = {};
function r(y) { return t.y = y; }
function g() {
for (let [x = r(x)] of x) {}
}
r(0);
r(0);
g();
// |jit-test| error: ReferenceError
var t = {};
function r(y) { return t.y = y; }
function g() {
for (let [x = r(x)] of x) {}
}
r(0);
r(0);
g();