Sign in
webkit
/
WebKit
/
84c082c1adc8c505a644dc9092e891f52c30e8c0
/
.
/
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"'
);