blob: 7dc74091e58251f3dcda05a05a6a5093ad15196f [file] [log] [blame]
// 'arguments' binding can be closed over and outlives the function activation.
function f() {
return (arguments for (x of [1]));
}
var args = f("ponies").next();
assertEq(args[0], "ponies");