Recursion, Currying, and Pure function these concepts are explained with good examples and deep explanations. No promotion no useless talks. Thank you so much.
@@ksai8185 Somehow I agree with you but from my point of view, Angular has better structure in comparison of React. Also Angular framework manages by Google and Google will never let his product down.
const curry = (fn) => { console.log(fn.length); return (curried = (...args) => { console.log(fn.length); if (fn.length !== args.length) { return curried.bind(null, ...args); } return fn(...args); }); }; const total = (x, y, z) => x + y + z; const curriedTotal = curry(total); console.log(curriedTotal(10)(20)(30)); can you explain it with detail what is null doing in thi s return curried .bind(null,...args) plz
Recursion, Currying, and Pure function these concepts are explained with good examples and deep explanations. No promotion no useless talks. Thank you so much.
Great tutorial...🎉
Honestly I'm preparing my interviews by using your videos only..Kudos for your efforts and great teaching skills
I am also
me too
You are doing great work. thank you so much
Awesome video, with detailed explanation. Please make one video on denouncing and throttling would really appreciate that.
Although i know what curring is, still watched the video and loved the examples. Well done 👍
Best Explanation🔥🔥
Nice one
Thank you
@@NishaSingla please post some more videos on React hooks...im preparing for my interview on Reactjs
Thans for the clear explanation
Thank you:)
please share more videos on recursion
good explanation. please make full javascript course, Thank you 🙂
thanks for the efforts
Thank you :)
Awesome
Thank you Nisha
👍👍👍
Thank you
Tq 👍
Thank you
We want more Angular tutorials
bro actually angular has less demand these days hence everyone stopped angular tutorials
@@ksai8185 Somehow I agree with you but from my point of view, Angular has better structure in comparison of React. Also Angular framework manages by Google and Google will never let his product down.
@@ahmadfaraz3678 but somehow react and vuejs are getting into top.we can observe the same from npm trends
const curry = (fn) => {
console.log(fn.length);
return (curried = (...args) => {
console.log(fn.length);
if (fn.length !== args.length) {
return curried.bind(null, ...args);
}
return fn(...args);
});
};
const total = (x, y, z) => x + y + z;
const curriedTotal = curry(total);
console.log(curriedTotal(10)(20)(30));
can you explain it with detail what is null doing in thi s return curried .bind(null,...args) plz