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