[ES6] support async arrow functions (#2153)

fixes #2102
This commit is contained in:
Alex Lam S.L
2017-06-24 05:26:35 +08:00
committed by GitHub
parent 137e4c4753
commit 7b95b63ca1
6 changed files with 73 additions and 58 deletions

View File

@@ -16,9 +16,12 @@ typeof_arrow_functions: {
evaluate: true
}
input: {
var foo = typeof (x) => null;
var foo = typeof (x => null);
console.log(foo);
}
expect_exact: "var foo=\"function\";"
expect_exact: "var foo=\"function\";console.log(foo);"
expect_stdout: "function"
node_version: ">=4"
}
classes: {