Tell us what’s happening:
I am looking for clarification. I have passed the exercise and understand why for the most part. However, the exercise explanation is a little confusing. It states:
" Variables which are used without the
var keyword are automatically created in the
global scope. This can create unintended consequences elsewhere in your code or when running a function again. You should always declare your variables with
This is confusing because many variables are technically USED without var after being declared. Did it mean that variables that are not DECLARED ( in this case using var) can create unintended consequences?