News for hackers. Stuff that matters.
Re:National (JavaScript) Security Agency by honua on Friday May 06, 2016 @09:14AM (#11643703)
As well as declaring variables in if blocks

if (!undeclaredVariable) { var undeclaredVariable = false; }

Re:National (JavaScript) Security Agency by BasDirks on Saturday May 07, 2016 @06:33AM (#11649073)
Yes. I'm very glad with the addition of 'let' to ES.