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