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