Sign in
webkit
/
WebKit
/
8811b522c4d9fd9fbebc2e2caf8f1ebff78163f9
/
.
/
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"
);