JS scopes like local scope, global scope & etc

In general, scope defines the life time of the variable or function. [OR] ,In other words scope will define  where the variables are alive. In JavaScript we have  different type of scopes. different type of javascript scopes are as shown below Those...