Pregunta de entrevista de 360medlink

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