Var declaration outside of if