Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Docs: Add valid example that shows vars in a block scope
All the current valid examples show hoisting the var to the function scope. This example makes is clear that this rule allows you to declare vars inside a block scope, just not use them out of that scope.
- Loading branch information