Anyway, here is my minifier for JavaScript numeric literals, I hope it is of use to youhttps://github.com/ferno/minify-numeric-literal …
-
-
Handling numbers in general, not just numeric literals, has far more pitfalls and potential for optimisation
-
An earlier version of UglifyJS naively replaced `Infinity` with `1/0`, but that turned e.g. `x/Infinity` into `x/1/0`
- 9 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.