Palo Alto Networks interview question

Closure, hoisting