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