Let's begin by exploring the concept of scopes: what exactly are scopes? Scope is the current context of execution in which values and expressions which are accessible or can be referenced are available for use. JavaScript has four types of scopes:...