BVA interview question

Describe how JavaScript scope works