Pregunta de entrevista de Tata Consultancy Services

Explain hoisting in js Reverse a string