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