📄️ Function Basics
We define a function using the function keyword followed by function name and parentheses.
📄️ Anonymous Function
Anonymous function is a type of function in which function does not have name. Normally we use function keyword, then name
📄️ Static Variables
By using a static variable we can retain a value across the entire program. To create a static variable in JavaScript, add an
📄️ Recursive functions
A function that calls itself during an execution is called a Recursive function.
📄️ Closure and Lexical Scope
Closure
📄️ First-Class Function
When function is treated like a variable, we can say that it is a first-class function. A first-class function can either return