What it changes
Replaces eligible function calls with the called function’s body and removes declarations that become unused.Before and after
Configuration
Run this transform by settingtransforms.inlineFunctions 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.