Search This Blog

Q66-Q70

Q66. What are high order functions in javascript?


================================================================================
Q66. What are high order functions in javascript?

Answer:
In general functions are called high order functions in javascript because they are very different in multiple ways than functions in object oriented languages like C#
Below are the features of fucntions in javascript

1. Functions are treated as objects in javascript
2. functions can be stored in a variable in javascript. 
3. they can be passed as an arugument to another function
4. We can create a function inside another functions
5. we can return a fucntoin from another function. 
================================================================================


================================================================================



================================================================================



================================================================================



================================================================================