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