[BugFix] : OptionalChaining Bug fixes (#7288)

* Added optionalExpression types to babylon and babel-types

* OptionalChain transforms bug fix

* Added OptionalExpressions to babel-generator. Fixed OptionalChain Bugs

* Removed 'optionalChain' from newExpression and added test cases

* Added test cases for optionalChain

* Update index.js
This commit is contained in:
Naveen jain
2018-02-08 06:12:14 +05:30
committed by Justin Ridgewell
parent dd0337cc85
commit a3ad518ce1
35 changed files with 1276 additions and 616 deletions

View File

@@ -0,0 +1 @@
new a?.();