Higher Order Functions Interview Question| Modern Javascript 2021

preview_player
Показать описание
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
Рекомендации по теме
Комментарии
Автор

Very useful..i am happy understand my long time doubts. Thank you

MrJohncenaraw
Автор

1:31 second Syntex is wrong you forget to write =>

zenchoudhary
Автор

Thank you Nisha for simply awesome explanation. Your deep copy and shallow copy video helped me in my interview.

please make more and more videos for front end interviews :)

urvishavachhani
Автор

Plz explain pure and impure functions. Thanks for your great videos.

RakeshKumar-brrg
Автор

Your video are very helpful to me. thanks a lot. should be twice instead of square.

phxqlpe
Автор

Nisha, it was really helpful tutorial pls make one complete playlist on interview javascript these thing

narendra
Автор

Hi Nisha, your explanation next level,
I thought instead of citizen, it's object.

durgaprasadbrahmandlapally
Автор

Just a correction, square is number * number

sar
Автор

why everyone does not give real life usecase of hof?

shubhampatil
Автор

Please upload more videos of Advance Javascript.

ankitaggarwal
Автор

Hi nisha, your videos are good. Can you please make videos on oops in javascript

satyasanghavi
Автор

Nice video ma'am. But square means number*number . Not multiple with 2. 😉

IraquiRizwanVlogs
Автор

= function(callback) {
return this.reduce((newArray, element) => {

return newArray;
}, []);
}


let data = [1, 2, 3, 4, 5, 6];

const op = data.repEachElement((el) => el);

console.log(op);

SingajogiSudhakar
Автор

It would be much obliged by us if upload notes for the same as well..🎉

Dev-fkrn
Автор

@Nisha singla could you pls do “Joseph’s problem “ using recursive in java script

asanmohamed
Автор

Please give me some project ideas to implement rxjs in angular..

akrammohammed
Автор

In function x argument is fn but inside the function you are doing fn() I didn't not understand why you are doing this

mdnasiransari
Автор

Please help me on this :
write a function which will display all the values with 'value' key in es6

let multiLevelData = {
value: 2,
data: [{
value: 3,
data: [{
value: 4,
data: [{
value: 6,
data: []
}]
}, {
value: 5,
data: []
}]
}]
}

bharatmoger
Автор

square of 10 is 100, how come 20, that is multiplication of 2.

nazrealam