Zoom Communications interview question

Describe the advantage of javscript's function scope.