AT&T Interview Question

Explain JavaScript hoisting