What it changes
Replaces eligible object and array wrapper bindings with separate bindings for their statically accessed entries.Before and after
Configuration
Run this transform by settingtransforms.extractObjectProperties 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.