Prototype in JavaScript (Hindi)

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 ต.ค. 2024

ความคิดเห็น • 75

  • @MrAKGarg007
    @MrAKGarg007 5 ปีที่แล้ว +13

    Very nice tutorial, self-explanatory - Brilliant.
    Note:- Please watch the video at 1.25 speed. It will save your time. Thanks

    • @aadisupersonic
      @aadisupersonic 3 ปีที่แล้ว

      shutup bruh.. 1.25huh.. go with 2.0x ..but yeah quality content..

  • @spsdarinda4834
    @spsdarinda4834 2 ปีที่แล้ว

    best explained video i have ever seen in my life....hats off to you brother.....love from pakistan

  • @subhasripriyadarsinidash8634
    @subhasripriyadarsinidash8634 5 ปีที่แล้ว +6

    Sir You are really a awesome teacher. Some topics are really very confused in JS like Closure,Prototyping, Arrow function. and you explained it very simple with easy example. I am very happy that now i can clear my confusion.

  • @rahulrajedge
    @rahulrajedge 3 ปีที่แล้ว

    Hi Bhai hats off for you, you are amazing, your voice is really very nice and simple for teach to other.
    I want to teach javascript with you

  • @ajazamin9843
    @ajazamin9843 2 ปีที่แล้ว

    sir we can conclude that like a static variable in java which shares its instance or copy with all the objects in a class in which it is defined likewise we have prototype concept in javascript where define once use many times is a greater advantage.

  • @souravkumar6269
    @souravkumar6269 4 ปีที่แล้ว +1

    Fabulously explained brother ....amazing....keep on making such informative tutorials!!!! You've really made all the complex topics so easier in your all tutorial videos that....in every video its difficult to appreciate your work!!! WELL DONE!!

  • @BachonKiDuniya307
    @BachonKiDuniya307 2 ปีที่แล้ว

    Subscribed
    Thanks for explanation

  • @chandanprajapati1127
    @chandanprajapati1127 หลายเดือนก่อน

    Everything is fine but before moving forward on any topic you must have to explain his definition in
    easy words and explain why they are needed. 👍

  • @developervivacity
    @developervivacity 5 ปีที่แล้ว +4

    As you explained that when we use prototype and create a new property in it like "color" it is created for the parent class then when I write "samsung.color" then it should be created for Mobile class and Mobile class is common for both nokia and samsung so why it is not present for "nokia.color"?

    • @himanshu2168
      @himanshu2168 5 ปีที่แล้ว +3

      Because Mobile is just a template which is used to create Objects like Samsung and Nokia. So when we add any property in Samsung Object it will add in Samsung object not in Mobile template.

  • @pachrangifood7132
    @pachrangifood7132 3 ปีที่แล้ว

    magical explain....🙏thanks esay to understand... 🙏👌

  • @yogenderpanwar846
    @yogenderpanwar846 4 ปีที่แล้ว

    Your way of explanation is excellent sir.

  • @khankaka7632
    @khankaka7632 5 ปีที่แล้ว

    i live your chanel because eveything is best explained

  • @04.nehalsingh12
    @04.nehalsingh12 2 ปีที่แล้ว

    awesome tutorial sir

  • @avijitghosh9472
    @avijitghosh9472 5 ปีที่แล้ว

    very clear explanation of the prototype chain concept.....thanks for the video.

  • @AIEngineering101
    @AIEngineering101 3 ปีที่แล้ว

    Simple and cool ,loved the way it is being conveyed

  • @jassrajput890
    @jassrajput890 3 ปีที่แล้ว

    thanks very simple

  • @SunnyKumar-xh8cj
    @SunnyKumar-xh8cj 5 ปีที่แล้ว +9

    So, why we create *Prototype member* , when we can make it *Instance member* ?

    • @sanjaytiwari9435
      @sanjaytiwari9435 4 ปีที่แล้ว +1

      Same copy of prototype function or property

    • @ajazamin9843
      @ajazamin9843 2 ปีที่แล้ว

      memory saving dude

  • @div7012
    @div7012 4 ปีที่แล้ว

    Best explanation..

  • @iamdanyaal
    @iamdanyaal 3 ปีที่แล้ว

    Thank You Sir

  • @priyasuryawanshi1143
    @priyasuryawanshi1143 3 ปีที่แล้ว

    Nice explained

  • @kajalkashyap4068
    @kajalkashyap4068 5 ปีที่แล้ว +1

    thanks for awesome viedo, ek question h.......
    prototype se hum static value hi de skte h property ko ya dynamic value b de skte h?? parameter arguments use kr k? agr aisa kr skte h to kaise krege?? q k mene try kiya bt error aa rhi h

  • @ammarjaved9324
    @ammarjaved9324 3 ปีที่แล้ว

    sir please say a bit louder ,otherwise you are a great tutor no doubt.

    • @geekyshows
      @geekyshows  3 ปีที่แล้ว

      I am really sorry for the inconvenience If possible please use Earphone/headphone while watching Tutorials

  • @nikleshniks
    @nikleshniks 5 ปีที่แล้ว +2

    Please write the "number of video" in playlist as order.

  • @mahakmahajan7374
    @mahakmahajan7374 5 ปีที่แล้ว +1

    Hello sir,
    Very nice explained but I have a query like as per your explanation JavaScript will found color variable in parent class if not then go to upper parent if again not found then go to obj class (mother) but if not found in mother class as well then what error will be return ?
    Someone asked me same question during interview.
    Thanks

  • @trendingvideo336
    @trendingvideo336 2 ปีที่แล้ว

    Very nice video

  • @darshanakhani5160
    @darshanakhani5160 ปีที่แล้ว

    prototype member bhi he bro you just click on
    [[Prototype]]: Object dropdown on console to see prototype member
    thank you😇😇

  • @anaghasalvi8364
    @anaghasalvi8364 4 ปีที่แล้ว

    very helpful.Thank you!

  • @harishjena9185
    @harishjena9185 5 ปีที่แล้ว +1

    Nice Explanation!

  • @adeelnaqvi1064
    @adeelnaqvi1064 5 ปีที่แล้ว +1

    Sir jab ham likhty hain Samsung.color=(white) ap ka according wo just mobile ka object tak available hota hai... So is wajah sa ham just Samsung tak access kar sakty hain..12:40 paar dakhy yeah bat kahi ap na.. My question is jab wo mobile ka object tak available hai or mobile ka object parent hai baki sab objects ka phir to nokia ko bhi access hona cha yeah

  • @premlalgupta7834
    @premlalgupta7834 3 ปีที่แล้ว

    Sir hum class me hi color nhi define kr denge yadi hume 100 obj banani hai to?? Same properties yadi chahiye??

  • @gulzaremadina1589
    @gulzaremadina1589 4 ปีที่แล้ว

    it really worked for me

  • @shivamgupta8866
    @shivamgupta8866 5 ปีที่แล้ว

    you can also do that by running a loop and getting keys of object

  • @atulyadav9712
    @atulyadav9712 3 ปีที่แล้ว

    Best🔥🙏❤️

  • @vscodeaddict6607
    @vscodeaddict6607 2 ปีที่แล้ว

    12:50 sari game samja dala 👍 ok hou gaya . sad to see u r not growing

  • @ramjivideos
    @ramjivideos 6 ปีที่แล้ว

    Nice bro, by the way if we give mobile.color = 'white', its also access by the derives objects na?

  • @prakash28nov
    @prakash28nov 5 ปีที่แล้ว

    Excellent video

  • @anitgahlot5749
    @anitgahlot5749 3 ปีที่แล้ว

    task done bro..

  • @sakshampandey7440
    @sakshampandey7440 4 ปีที่แล้ว

    thanks man

  • @story-stacks
    @story-stacks 4 ปีที่แล้ว

    actually in case of prototype :function prototype is accessible but object prototype is not visible. what does this mean . can yo explain more clearly ?? is this the same thing that you just said in console instance member is visible but prototype member is not visible.

  • @believer-n3t
    @believer-n3t 4 ปีที่แล้ว +1

    Why we can not write this.color after this.price in instance class instead of using a prototype??

  • @abidmehmood1150
    @abidmehmood1150 6 ปีที่แล้ว

    very good explanation

  • @avkexpress8029
    @avkexpress8029 6 ปีที่แล้ว +1

    VERY GOOD SUR

  • @SANAT22
    @SANAT22 3 ปีที่แล้ว

    Nice

  • @iUmerFarooq
    @iUmerFarooq 4 ปีที่แล้ว +1

    1. Sir is ka use kahan ohar ho ga? 2. Hum na *Color* ko *Mobile class* ma q add nahi kiya k itni khowari karna thee?
    3. Sir ya thoo theek ha k *Prototype* ko Functions declaration k liya use hota, magar zaroorat he kiya ha hum is k baghar he *Funtion* bana saktan ha?

  • @rajatsonu01
    @rajatsonu01 6 ปีที่แล้ว

    superb ................

  • @rakeshswain16
    @rakeshswain16 5 ปีที่แล้ว

    Thanks Bro...

  • @pankajpatil2795
    @pankajpatil2795 5 ปีที่แล้ว

    great , nicely

  • @captainsparrow9040
    @captainsparrow9040 6 ปีที่แล้ว +1

    Sir Java script kb khatam hoga or jquery kb start hoga
    And css ke bad Java script pdhna theek h na?

  • @funtravellers7754
    @funtravellers7754 6 ปีที่แล้ว

    Awesome bro...

  • @Charsipandashorts
    @Charsipandashorts 5 ปีที่แล้ว

    var mobiles = function mobile(model, price){
    this.model = model;
    this.price = price;
    }
    var nokia = new mobiles('nokia', 5000);
    var samsung = new mobiles('samsung', 8000);
    mobiles.prototype.color = "white";
    document.write(nokia);
    document.write(samsung);
    ________________________________________________________________________________________________________
    I am getting [object Object] on the document but when I am using console the answer is appearing correct.
    * Why is not working with document.write ??
    ________________________________________________________________________________________________________

  • @Weirdvloggertrue
    @Weirdvloggertrue 4 ปีที่แล้ว +1

    Isme apan this. Color kyon nhi use krte?

  • @madshad9994
    @madshad9994 5 ปีที่แล้ว

    v.nice. thumbs up

  • @anishadhikari3690
    @anishadhikari3690 5 ปีที่แล้ว

    nice tutorial :)
    what is the base class of M (mobile) in this case??

  • @SunnySunny-mh5do
    @SunnySunny-mh5do 9 หลายเดือนก่อน

    Bro I love u

  • @gkmishra2009
    @gkmishra2009 4 ปีที่แล้ว

    NGRX pe video dijia

  • @dailylearnsomething
    @dailylearnsomething 5 ปีที่แล้ว

    if i want in different - diff object same property with diff. color then how we can make it dynamically

  • @gkmishra2009
    @gkmishra2009 4 ปีที่แล้ว

    RXJS par video dijia

  • @waqarfazal7327
    @waqarfazal7327 6 ปีที่แล้ว

    Thanks Bro, zbrdst

  • @dailylearnsomething
    @dailylearnsomething 5 ปีที่แล้ว

    right now your putting the same color in prototype member property same color

  • @Akshay-Malthane
    @Akshay-Malthane 5 ปีที่แล้ว

    Are you Bengali

  • @atanumarick7415
    @atanumarick7415 3 ปีที่แล้ว

    console me kyon nehi aya yeh clearnehi hua thik se

  • @ndroidLover
    @ndroidLover 6 ปีที่แล้ว +1

    Bro javacript ke video jaldi upload karo na

  • @abhishekchawla3446
    @abhishekchawla3446 5 ปีที่แล้ว

    bhai samsung hunda aaa....
    samshung ni...

  • @amansharma6996
    @amansharma6996 4 ปีที่แล้ว +1

    Your voice is slow and unenergetic , depressed and very irritating literally i frustrated 😬😬

  • @shafiqmalik832
    @shafiqmalik832 5 ปีที่แล้ว +1

    Toilet main beth kr video bana rahe ho kya
    Apna gala saaf kro

  • @dileepsagar1
    @dileepsagar1 6 ปีที่แล้ว +1

    burst video on youtube don't make video like that you have words gape