Declaring variables in if statements, and the curiosities of scope that follows | Hacker News Reader