2 * Any copyright is dedicated to the Public Domain.
3 * http://creativecommons.org/licenses/publicdomain/
8 eval("function f(){}(((f)for(x in function(){}))())");
9 var threwTypeError = false;
11 var threwTypeError = x instanceof TypeError;
13 assertEq(threwTypeError, true);
15 /* Properly bind f. */
16 assertEq(eval("function f() {}; var i = (f for (f in [1])); uneval([n for (n in i)])"),
19 reportCompare(true, true);