The function keyword can be used to define a function inside an expression.
A function expression is very similar to and has almost the same syntax as, a function declaration.
The main difference between a function expression and a function declaration is the function name, which can be omitted in function expressions to create anonymous functions.
Function expressions in JavaScript are not hoisted, unlike function declarations. You can't use function expressions before you create them