Sign in
webkit
/
WebKit
/
1f5bafe5ae87a22fbc029b76fb26b628be327746
/
.
/
JSTests
/
stress
/
for-in-postfix-ignored-index.js
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
;