No video

call, apply and bind methods| Method Borrowing | Modern Javascript 2021

  Рет қаралды 11,776

Nisha Singla

Nisha Singla

Күн бұрын

call, apply and bind are predefined methods in javascript and its very using to handle this keyword .
this keyword work quiet differently in javascript as compared to other object oriented language and that creates confusion for the programmers.
Function borrowing allows us to use the methods of one object on a different object without having to make a copy of that method and maintain it in two separate places. It is accomplished through the use of .call(), .apply(), or .bind(), all of which exist to explicitly set this on the method we are borrowing.
There are many benefits to method borrowing:
It prevents the unnecessary duplication of code.
It allows the user to use methods of different objects without inheriting.
Using method borrowing prevents the replication of methods in multiple object blocks and saves time.
call, apply and bind method is just to implement method borrowing, where we can use explicitly specify what this should reference within the calling function.
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:
Facebook: / angularjs4beginners
LinkedIn: / nisha-singla-82407aa0
Instagram : / passion4code
For more such interesting videos, please subscribe to my channel and stay connected.
#javascript #NishaSingla #callapplybind

Пікірлер: 62
@BurritoBrooks
@BurritoBrooks 4 ай бұрын
Wow! Really clear and thorough explanation!
@yandlurinirosha-lt9jg
@yandlurinirosha-lt9jg 10 ай бұрын
I can't explain in words how well you have explained. you are really great
@mithanck4132
@mithanck4132 Ай бұрын
Really well explained
@sarfraznawaz7248
@sarfraznawaz7248 Жыл бұрын
Been trying really hard to wrap my head around these three methods; finally, a video that made sense and I understood them. Greetings from Pakistan.
@darshangowda3784
@darshangowda3784 2 жыл бұрын
Wonderfully explained!!! I have tried to understand call, apply and bind by reading many blogs and many websites. But in just 23min video you explained it clearly. Thank you
@rahulhasani9404
@rahulhasani9404 2 жыл бұрын
Hi Nisha, No one gave so much clearity between the differences of these methods like you did with examples. Much appreciated . Kudos !!
@NishaSingla
@NishaSingla 2 жыл бұрын
Glad to know Rahul it helped.. keep learning 🙏😊
@neerajagrawal709
@neerajagrawal709 Жыл бұрын
Very well explained Nisha 👍
@ikrammissaoui2272
@ikrammissaoui2272 Ай бұрын
Woow great ❤
@logeesh2009
@logeesh2009 2 жыл бұрын
Call apply and bind i wanted to know. Luckily i got your video. Really helpful thanks.
@dashrathnaik8283
@dashrathnaik8283 Жыл бұрын
Excellent explanation. Thank you so much for explaining the very deep concepts of javascript Nisha. It is really easy to understand the concepts when you are explaining. I recommend everyone who is learning javascript to watch all of his videos.
@mr.abu-baker8bp460
@mr.abu-baker8bp460 Жыл бұрын
Clear and to the point (Top level Teaching) :)
@akiratoriyama1320
@akiratoriyama1320 3 жыл бұрын
Excellent explaining!!! Deep content as always!! Thanks you very much for your effort!!!
@NishaSingla
@NishaSingla 3 жыл бұрын
Hey thanks 😃😃
@ashishnayak2666
@ashishnayak2666 3 жыл бұрын
Nice explanation Nisha 👍
@nanasarathi
@nanasarathi 2 жыл бұрын
Very well explained 👍
@ashutoshankur7105
@ashutoshankur7105 3 жыл бұрын
Great explanation Nisha, just a suggestion you can create a part 2 for this tutorial and cover more examples of how "this" works weird in js like in case of closure (you have actually covered here but a practice with few more examples would be good).
@NishaSingla
@NishaSingla 3 жыл бұрын
Thanks 😊 Appreciate your suggestions… I have plan to make video on closure soon, there will talk more on this 🙏😃
@ashwanikumar183
@ashwanikumar183 2 жыл бұрын
@@NishaSingla will be waiting eagerly when you upload new closure video
@knowledgepower5192
@knowledgepower5192 2 жыл бұрын
great explanation kepit up
@NishaSingla
@NishaSingla 2 жыл бұрын
Thanks 😊
@ZahidHussain-pr4hg
@ZahidHussain-pr4hg 10 ай бұрын
Very nicely and clearly explain this concept Thank you very much Is there any plan for basic Javascript?
@jayeshgite9058
@jayeshgite9058 2 жыл бұрын
Appreciate the way you explain the concepts , Grateful 🙏
@NishaSingla
@NishaSingla 2 жыл бұрын
Thank you 😊
@vaibhavsarode2426
@vaibhavsarode2426 3 жыл бұрын
Osm Explanation , Thnk you so much
@NishaSingla
@NishaSingla 3 жыл бұрын
😀😀
@rajeshkolluri448
@rajeshkolluri448 2 жыл бұрын
Thanks for your clean and clear explanation
@NishaSingla
@NishaSingla 2 жыл бұрын
Thank you 😊
@kishorphawade6198
@kishorphawade6198 3 жыл бұрын
Thank you for this,great explained
@NishaSingla
@NishaSingla 3 жыл бұрын
Thank you 😊
@buntysingh244
@buntysingh244 Жыл бұрын
Wow👍👍
@chilakalauttejuttej4891
@chilakalauttejuttej4891 2 жыл бұрын
Super madam please keep vedios countinsuly madam. 🙏🙏
@akifcankara2225
@akifcankara2225 2 жыл бұрын
comma seperated syntax worked for me even I use apply
@ashwanikumar183
@ashwanikumar183 2 жыл бұрын
Amazing content. Happy Diwali 🪔🪔
@venkat3261
@venkat3261 2 жыл бұрын
Perfect teaching Thanks
@NishaSingla
@NishaSingla 2 жыл бұрын
Thank you 🙏 stay connected
@patelhetal2232
@patelhetal2232 Жыл бұрын
Nice explanation 👌
@snehasingla
@snehasingla 3 жыл бұрын
Nice explanation 👍
@NishaSingla
@NishaSingla 3 жыл бұрын
Thank you 😊
@Fullstackdev-
@Fullstackdev- Жыл бұрын
thank you
@viraag955
@viraag955 8 ай бұрын
Thx nisha
@manoharanadimoolam3074
@manoharanadimoolam3074 2 жыл бұрын
Very good lesson
@shubhamm3478
@shubhamm3478 3 жыл бұрын
Loved this js series ❣️
@NishaSingla
@NishaSingla 3 жыл бұрын
Thank you 😊
@bishwajeetpandey1570
@bishwajeetpandey1570 Жыл бұрын
Mam please make a detailed video on this keyword with interview questions
@prabhanjandeshpande6230
@prabhanjandeshpande6230 Жыл бұрын
Hello Nisha please make a video on data structures and algorithms
@obnoxiousguyhd488
@obnoxiousguyhd488 Жыл бұрын
please make videos for polyfills
@Raghavshahiofficial
@Raghavshahiofficial Жыл бұрын
At 21:21 minute, why the bind function called twice, Even though, we have clicked once.
@rahulshah7861
@rahulshah7861 3 жыл бұрын
Nice explanation ma'am 👍
@NishaSingla
@NishaSingla 3 жыл бұрын
Thank you 😊
@santhoshmamidi5214
@santhoshmamidi5214 2 жыл бұрын
Hi Nisha, Great Explaination, Really appreciated the way you explained. Can you please do a video on closure and on oops concepts? Thanks in Advance
@NishaSingla
@NishaSingla 2 жыл бұрын
Sure thanks
@chandrasekhar-ki3yr
@chandrasekhar-ki3yr 2 жыл бұрын
Nice explanation
@NishaSingla
@NishaSingla 2 жыл бұрын
👍🏻👍🏻😀😀
@chandrasekhar-ki3yr
@chandrasekhar-ki3yr 2 жыл бұрын
Hi Mam, I have a doubt. We can access the methods inside an object by objectname.method() right, then why need of this call, apply bind?
@prashant6971
@prashant6971 Жыл бұрын
You explain the concept with eaz...
@sagarnanavare9802
@sagarnanavare9802 Жыл бұрын
hi mam i want to full course of javascript is this course available on udemy
@kotireddy419
@kotireddy419 2 жыл бұрын
How to say call, apply and bind in interview point ?
@ashishnayak2666
@ashishnayak2666 2 жыл бұрын
now a days you are not uploading any videos in to your channel
@NishaSingla
@NishaSingla 2 жыл бұрын
Yes.. will try to upload soon 🔜
@venkat7667
@venkat7667 2 жыл бұрын
Not I got clarity on these topics
@priyalagrawal6680
@priyalagrawal6680 Жыл бұрын
Well explained Nisha 👍
白天使选错惹黑天使生气。#天使 #小丑女
00:31
天使夫妇
Рет қаралды 15 МЛН
АЗАРТНИК 4 |СЕЗОН 1 Серия
40:47
Inter Production
Рет қаралды 333 М.
#42 Using Call, Apply and Bind | JavaScript Full Tutorial
12:02
Dev Dreamer
Рет қаралды 8 М.
@ViewChild/@ViewChildren in Angular (Tutorial 35)
19:31
Nisha Singla
Рет қаралды 63 М.
Higher Order Functions Interview Question| Modern Javascript 2021
18:28
javaScript call apply and bind
15:23
techsith
Рет қаралды 356 М.
What is Recursion | Javascript | Real World Examples
26:35
Nisha Singla
Рет қаралды 13 М.
call, apply and bind method in JavaScript
10:50
Akshay Saini
Рет қаралды 459 М.