Sign in
webkit
/
WebKit
/
cd096af6c6240b3ceab5d977df03c24b8d5fa8d7
/
.
/
JSTests
/
es6
/
default_function_parameters_basic_functionality.js
blob: 68f0bf7fa18e1fe99826141601becb76e8b5cb65 [
file
] [
log
] [
blame
]
function
test
()
{
return
(
function
(
a
=
1
,
b
=
2
)
{
return
a
===
3
&&
b
===
2
;
}(
3
));
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);