Sign in
webkit
/
WebKit
/
38af2d11a53891d36db2adc946c621e143cf63f2
/
.
/
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
;