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