Frage im Vorstellungsgespräch bei 360medlink

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