Pergunta de entrevista da empresa BITCS

What is hoisting in js?

Resposta da entrevista

Sigiloso

17 de nov. de 2025

Hoisting in JavaScript is a behavior where variable and function declarations are moved to the top of their scope (global or function scope) during the compilation phase, before the code is executed.

1