Merge pull request #773 from fabiosantoscode/harmony-typeof-arrows
Fix evaluating the typeof an arrow function.
This commit is contained in:
@@ -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 ) { });
|
||||
|
||||
Reference in New Issue
Block a user