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