Sign in
webkit
/
WebKit
/
ff7d0633d03abf413813ca580d38def1102dae91
/
.
/
JSTests
/
es6
/
arrow_functions_correct_precedence.js
blob: 30f390315783a94fd330075c932f20d903c32454 [
file
] [
log
] [
blame
]
function
test
()
{
return
(()
=>
{
try
{
Function
(
"0 || () => 2"
)();
}
catch
(
e
)
{
return
true
;
}
})();
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);