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