Hacker News new | ask | show | jobs
by the8472 4181 days ago
>it's safe to do typeof possiblyUndeclaredVariable

What would be the usecase of typeof'ing something undeclared in a block scope and then declaring the let further down?

Even more so with strict mode which does't really allow you to use undeclared variables anyway.