Difference between function declaration and function expression?
Function declaration
The first difference is name, when you create a function with a name, that is a function declaration( not an anonymous function).
Function expression
A function expression work just like a function declaration or a function statement, the only difference is that a function name is not started in a function expression, it is assigned in a variable, that is an anonymous function is created.
Thank you.