filmov
tv
Higher Order Functions Interview Question| Modern Javascript 2021
Показать описание
Higher order functions are those function which takes a function as a argument or return a function as output.
Functions are the first class citizen in javascript, it means function act like any other type in javascript. So we can assign function to a variable, we can pass function as a argument to another function , a function can return a function, As function are first class citizens because of that Higher order functions are possible in javascript.
A Function that takes another function as argument, that function is HIGHER ORDER FUNCTION and that argument which we have passed to Higher order function is called Callback functions.
In this video, I have explained how you should write your functions so that you can optimised your code and can clear the coding round during your interview.
Support my channel so that I can reach to wider audience. Please share it in your network 🙏
Connect with me on social platform:
For more such interesting videos, please subscribe to my channel and stay connected.
#javascript #NishaSingla #higherorderfunctions
Functions are the first class citizen in javascript, it means function act like any other type in javascript. So we can assign function to a variable, we can pass function as a argument to another function , a function can return a function, As function are first class citizens because of that Higher order functions are possible in javascript.
A Function that takes another function as argument, that function is HIGHER ORDER FUNCTION and that argument which we have passed to Higher order function is called Callback functions.
In this video, I have explained how you should write your functions so that you can optimised your code and can clear the coding round during your interview.
Support my channel so that I can reach to wider audience. Please share it in your network 🙏
Connect with me on social platform:
For more such interesting videos, please subscribe to my channel and stay connected.
#javascript #NishaSingla #higherorderfunctions
Комментарии