SCOPE The scope of a variable determines where the variable can be used. The scope is broadly divided into two - global scope and local scope. The global scope is the outermost scope in JavaScript. Any variable declared in global scope can be accesse...