CoStar Group Interview Question

What's the scope in JS?