wrongly_optimized: { options = { booleans: true, conditionals: true, evaluate: true, } input: { function func() { foo(); } if (func() || true) { bar(); } } expect: { function func() { foo(); } func(), 1, bar(); } }
index : tracifyjs | ||
Reverse engineer's tool for tracing the flow of data in JS program, based on UglifyJS |
aboutsummaryrefslogtreecommitdiff |
wrongly_optimized: { options = { booleans: true, conditionals: true, evaluate: true, } input: { function func() { foo(); } if (func() || true) { bar(); } } expect: { function func() { foo(); } func(), 1, bar(); } }