Also, the compiler doesn’t care a little bit about syntax, the only thing matter is the scope. As long as the two version has identical scope behavior, which they do in this case and a slight generalization of this, they’ll be have the same.
5 Likes