News for hackers. Stuff that matters.
Re:Ask HN: What did I do so wrong in this coding interview by mattyfo on Wednesday July 09, 2014 @10:47PM (#8013313)
I'd disagree on the JS part. I think given the timeframe and context it's fine as is. He did do a lot of things right such as not leaking globals and using gulp/browserify.
Re:Ask HN: What did I do so wrong in this coding interview by ben336 on Wednesday July 09, 2014 @11:03PM (#8013362)
cell.js line 21 actually does leak a global, its an undeclared var reference, and will be attached to window in the browser.