News for hackers. Stuff that matters.
Re:Closure Compiler: a tool for making JavaScript download a... by sanderjd on Monday August 31, 2015 @01:08PM (#10147813)
How did it know it could leave out the `this.nodeType` check?
Re:Closure Compiler: a tool for making JavaScript download a... by tomjen3 on Monday August 31, 2015 @01:51PM (#10148070)
If it can prove that it will always be 1 (ie by code not shown) it will be removed.
Re:Closure Compiler: a tool for making JavaScript download a... by sanderjd on Monday August 31, 2015 @04:37PM (#10148950)
Yeah, I was curious how it could prove that in this specific case. Very neat, in any case.