fix(minifier): avoid merging `if` to `for` when the body contains a function declaration (#25637)
fixes https://github.com/oxc-project/oxc/issues/22222 I used AI to generate the code and then reviewed the code and changed the code and added tests.
S
sapphi-red committed
58ba651e5c03817b12589c1163e6400d0eb0ac1f
Parent: c0f7156