Sign in
webkit
/
WebKit
/
4ba7fe936ef6ae9d62102c8eed5d38ba3f6d5cc4
/
.
/
JSTests
/
stress
/
dfg-del-by-id.js
blob: 66f2f0bd15cd8ea7fd998f555dd90927c4dc87ea [
file
] [
log
] [
blame
]
function
foo
(
o
)
{
return
delete
o
.
f
;
}
noInline
(
foo
);
for
(
var
i
=
0
;
i
<
10000
;
++
i
)
{
var
o
=
{
f
:
42
};
var
result
=
foo
(
o
);
if
(
result
!==
true
)
throw
"Error: bad result: "
+
result
;
if
(
"f"
in o
)
throw
"Error: \"f\" still in ok"
;
}