Hoisting, var, let & const,
and the TDZ(Temporal Dead Zone)
What is Hoisting?
Hoisting is the process where JavaScript allocates memory for variables and functions before executing the code.It happens during the Memory Creation Phase of the Execution Context..
krewhashnodedev.hashnode.dev4 min read