What it changes
Moves eligible literal-like right operands to the left side of comparisons, reversing relational operators as needed.Before and after
Configuration
Run this transform by settingtransforms.yodifyConditions 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.