minify icon indicating copy to clipboard operation
minify copied to clipboard

Create a command line option to disable JS: shorten true, false, and undefined to !0, !1 and void 0

Open andrewhodel opened this issue 1 year ago • 1 comments

shorten true, false, and undefined to !0, !1 and void 0 in JS fails with === comparisons.

andrewhodel avatar Sep 19 '24 15:09 andrewhodel

As was mentioned in https://github.com/tdewolff/minify/issues/790 I don't think the === operator should fail in those circumstances, do you have an example when this was causing a problem?

tdewolff avatar Jan 19 '25 17:01 tdewolff