Sign in
webkit
/
WebKit
/
1c7d0e6821998d9f5e927f04218eaa12c2aeca32
/
.
/
JSTests
/
stress
/
get-declared-unpassed-argument-in-scoped-arguments.js
blob: a85cd9537bc5910bd79d56f50fcc8fd533e6cb8e [
file
] [
log
] [
blame
]
function
foo
(
a
)
{
if
(!
effectful42
())
{
(
function
()
{
a
=
43
;
})();
return
arguments
;
}
return
a
;
}
noInline
(
foo
);
for
(
var
i
=
0
;
i
<
10000
;
++
i
)
{
var
result
=
foo
();
if
(
result
!==
void
0
)
throw
"Error: bad result: "
+
result
;
}