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