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