summaryrefslogtreecommitdiff
path: root/js/src/tests/js1_8_5/regress/regress-541255-2.js
blob: dfb65c6d6e96d4b232f53edf487891f036294e5c (plain)
1
2
3
4
5
6
7
8
9
10
11
/*
 * Any copyright is dedicated to the Public Domain.
 * http://creativecommons.org/licenses/publicdomain/
 * Contributors: Gary Kwong and Jason Orendorff
 */

function f(e) {
    eval("[function () { w.r = 0 }() for (w in [0])]")
}
f(0);
reportCompare(0, 0, "");