Merge pull request #773 from fabiosantoscode/harmony-typeof-arrows

Fix evaluating the typeof an arrow function.
This commit is contained in:
Richard van Velzen
2015-08-21 11:51:42 +02:00
2 changed files with 15 additions and 1 deletions

View File

@@ -36,6 +36,16 @@ regression_arrow_functions_and_hoist: {
expect_exact: "a=>b;"
}
typeof_arrow_functions: {
options = {
evaluate: true
}
input: {
typeof (x) => null;
}
expect_exact: "\"function\";"
}
destructuring_arguments: {
input: {
(function ( a ) { });