Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on JavaScript Minification Benchmarks. Parent comment
someFunction.toString().charAt(10) == 'a'
Also I've never even considered that minifiers can break your code.
To be safe it seems you either need to run minification during test & dev or setup some linting to ban features that could break during minification.
My blog post linked above goes more into the consequences -- ideally you'd formally define what the allowable language subset is.
Also I've never even considered that minifiers can break your code.
To be safe it seems you either need to run minification during test & dev or setup some linting to ban features that could break during minification.