2 ms·
http://www.jsnice.org/ http://www.jsnice.org/ can do that – giving everything meaningful names, checking types, etc.
by kuschku 11y ago
http://www.jsnice.org/ http://www.jsnice.org/ can do that – giving everything meaningful names, checking types, etc.
- bpicolo 11y agoIt can't give "meaningful names" without real context, which it doesn't have. Slightly longer names that are easier to read? Sure.
- kuschku 11y agoYes, it can: https://news.ycombinator.com/item?id=7836092 https://news.ycombinator.com/item?id=7836092
- bpicolo 11y agoHere's part of google homepage js thrown at it (In reality tossed a whole file, but pastebin wont fit it all for free). It's still entirely unreadable. http://pastebin.com/VvEGZ8a3 http://pastebin.com/VvEGZ8a3 If it can infer most of it from OSS? Sure. But big web apps do a lot more.