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