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