support asynchronous arrow functions (#4530)
This commit is contained in:
@@ -667,7 +667,10 @@ function is_timed_out(result) {
|
||||
|
||||
function is_statement(node) {
|
||||
return node instanceof U.AST_Statement
|
||||
&& !(node instanceof U.AST_Arrow || node instanceof U.AST_AsyncFunction || node instanceof U.AST_Function);
|
||||
&& !(node instanceof U.AST_Arrow
|
||||
|| node instanceof U.AST_AsyncArrow
|
||||
|| node instanceof U.AST_AsyncFunction
|
||||
|| node instanceof U.AST_Function);
|
||||
}
|
||||
|
||||
function merge_sequence(array, node) {
|
||||
|
||||
Reference in New Issue
Block a user