Scoping in JavaScript Functions

In this excerpt from my "JavaScript for C# Developers", I show you how scoping in JavaScript is different from C# so you don't make the same mistakes he did when he first was dabbling in the language.

Application Name WilderBlog Environment Name Production
Application Ver Runtime Framework .NETCoreApp,Version=v1.1
App Path D:\home\site\wwwroot Runtime Version .NET Core 4.6.24628.01
Operating System Microsoft Windows 6.2.9200 Runtime Arch X86