Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In ES6RewriteDestructuring visitArrayPattern, if the parent of the de…
…structuring assignment is not an expr result, for example, a for loop or another assignment, then transformed the destructuring assignment into an arrow function whose result is the original destructuring assignment. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=158769794
- Loading branch information
Showing
5 changed files
with
399 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.