Javascript Function Is A First Class Object

javascript

// JavaScript - Function is a first-class object:
1. A function is an instance of the Object type
2. A function can have properties and has a link back to its constructor method
3. A function can be stored as a variable 
4. A function can be pass as a parameter to another function
5. A function can be returned from another function
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License