Javascript Hoisting – In a nutshell

Reading Time: < 1 minute

Variable and function declarations are moved to the top of their scope whereas the variable initialization and function expression is not.

Be First to Comment

Leave a Reply

Your email address will not be published. Required fields are marked *