1 min readMar 29, 2019
Hi Ratan, they are hoisted to the top of their scope, but they don’t get hoisted out of their scope like var declarations do.
It can be a pretty confusing thing to wrap your head around!
Hi Ratan, they are hoisted to the top of their scope, but they don’t get hoisted out of their scope like var declarations do.
It can be a pretty confusing thing to wrap your head around!