Sign in
webkit
/
WebKit
/
edb346a75329a4efa9442b1eda08e235b281947f
/
.
/
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
;
}