Sign in
webkit
/
WebKit
/
3ac871cdd7a61919c5b8487846e466c5ef546cf1
/
.
/
LayoutTests
/
js
/
script-tests
/
var-shadows-arg-crash.js
blob: ef25290a6f3b5f4ef014b53010a2aea38cbd574a [
file
] [
log
] [
blame
]
description
(
'Tests to ensure that activations are built correctly in the face of duplicate parameter names and do not cause crashes.'
);
function
test
(
a
)
{
var
b
,
a
=
"success"
;
return
function
()
{
return
a
;
}
}
shouldBe
(
'test()()'
,
'"success"'
);