Before the code is executed, during the compilation step, variable and function declarations are moved to the top of their respective scopes. This behavior is referred to in JavaScript as hoisting. As a result, variables and functions can be defined ...

Markdown supported · ⌘↵ to post
crushingCodes
Fullstack Web Developer, Typescript, Python, Postgres
Nice! TIL about Temporal Dead Zone