What is the difference between a Function Declaration and Function Expression

What is the difference between a Function Declaration and Function Expression
0

#1

Can someone tell me what the difference is between a function declaration and function expression?


#2

Simply speaking,

declaration is when functions are initialized with function keyword.
Expression is when function can be stored into a variable.

Look at this resource.