Domanda di colloquio di 360medlink

What are the variable scopes in javascript? how do we assign it?