What it changes
Expands arithmetic and bitwise compound assignments into simple assignments while preserving single evaluation of member receivers and computed keys.Before and after
Configuration
Run this transform by settingtransforms.expandBinaryAssignment to true:
obfuscate.mjs
View the implementation
Open the TypeScript implementation on GitHub.
Read the behavior tests
Review behavior checks and cases this transform leaves alone.