what is the condition of using a function in an expression
Answers
Answered by
20
Answer:
The main difference between a function expression and a function statement is the function name, which can be omitted in function expressions to create anonymous functions. A function expression can be used as a IIFE (Immediately Invoked Function Expression) which runs as soon as it is defined.
Similar questions