Sign in
webkit
/
WebKit
/
a36dd1c4bd8146169ac601fd378f4d14b5f88ac7
/
.
/
JSTests
/
es6
/
destructuring_defaults_in_parameters_separate_scope.js
blob: 5c8f788f7e4e9854aad62791bc73c76792d922f6 [
file
] [
log
] [
blame
]
function
test
()
{
return
(
function
({
a
=
function
(){
return
typeof
b
===
'undefined'
;
}}){
var
b
=
1
;
return
a
();
}({}));
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);