-
-
Notifications
You must be signed in to change notification settings - Fork 225
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Shorten assignments to itself (#230)
* Simplify assignments to same identifier * Add tests * Bump versions * Remove versioning * Remove version * Add support for optimizing member expressions * Fix test name * Remove comment * Simplify ternary * Fix bugs, simplify check * Change postfix to prefix * Exclude operators for member expressions too * includes -> indexOf * Fix lint * Improve method name
- Loading branch information
Showing
2 changed files
with
239 additions
and
0 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