Sign in
webkit
/
WebKit
/
af107121180e7ae7606d9b7b1021b27102f6b698
/
.
/
JSTests
/
es6
/
default_function_parameters_defaults_can_refer_to_previous_params.js
blob: a98543cba7ea777f5c26aa9e3c499351f4c18dfa [
file
] [
log
] [
blame
]
function
test
()
{
return
(
function
(
a
,
b
=
a
)
{
return
b
===
5
;
}(
5
));
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);