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