Hacker News new | ask | show | jobs
by honua 3700 days ago
As well as declaring variables in if blocks

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

1 comments

Yes. I'm very glad with the addition of 'let' to ES.