blob: b7947eaddedb5c958ad570e6b222a4aa39f4dfb8 [file] [log] [blame]
//@ runDefault
function foo(o) {
var result = 0;
for (var s in o) {
s++;
result += o[s];
}
return result;
}
var result = foo({f:42});
if ("" + result != "NaN")
throw "Error: bad result: " + result;