Javascript Fundamentals
Functions in JavaScript
Function
- Functions are also objects in JS
- A func is an instance of the object type.
- A function behaves like any other object.
- We can store functions in a variable.
- We can pass a function as an argument to another function.
- We can return a function from another function.
=>
- First Class Functions