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