3 ms·
To be more specific the term is hoist which means the declarations are pushed to the top of the scope at run time for maximum availability, and var is function
by austincheney 5y ago
To be more specific the term is hoist which means the declarations are pushed to the top of the scope at run time for maximum availability, and var is function scoped instead of block scoped. Block scoping is often more specific because a function body is a block as well.