Pregunta de entrevista de Crossover for Work

What is hoisting?

Respuesta de la entrevista

Anónimo

14 feb 2018

In JavaScript, variable declarations are executed through out the program before any code is executed. Therefore declaring a variable anywhere in the code is equivalent to declaring it at the beginning.