Function expressions are not being hoisted correctly, i.e., var func = function() { console.log('hi') } the variable func will only appear in the output while in the function block
Function expressions are not being hoisted correctly, i.e.,
var func = function() {
console.log('hi')
}
the variable func will only appear in the output while in the function block