Zoom Communications Interview Question

Describe the advantage of javscript's function scope.