normal:
var say = function(){
console.log('Hello');
}
say();
There is an error:
In the way of function expression, the call cannot occur before the definition, otherwise an error will be reported
Uncaught TypeError: say is not a function at 150.html:7
(anonymous) @ 150.html:7
say();
var say = function(){
console.log('Hello');
}