If you look at the source of Google pages using JavaScript, you will find that JavaScript is clearly not readable or supported. For example, all variables and functions have single-letter names (at least the first 26 are ...); no extraneous white spaces or lines; no comments; etc.
The advantages of this compiler are obvious: pages load faster, JavaScript execution is faster, and it will be difficult for competitors to understand your confusing code as a bonus.
Obviously, Google uses some kind of compiler to compile JavaScript-to-JavaScript. I am wondering if what they use is an internal tool? If not, which ones are they using? Are there any publicly available (ideally free / open) tools of this kind?
source
share