Open Rich-Harris opened 7 years ago
// input if ( a ) { obj = {} } else { obj = null; } // ideal obj=a?{}:null // actual a?(obj={}):(obj=null)
Uglify and Closure both get to the ideal version.
Uglify and Closure both get to the ideal version.