Sign in
webkit
/
WebKit
/
a3eb87cf8afe6d46ef9f981c30edf399ed9d84e3
/
.
/
JSTests
/
es6
/
default_function_parameters_separate_scope.js
blob: c123edd66628fac53b5580f94ea1f1939d3f5297 [
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"
);