Prototype In JavaScript | JavaScript Object Prototype | Prototype Inheritance JavaScript

แชร์
ฝัง
  • เผยแพร่เมื่อ 17 ส.ค. 2023
  • Learn Prototype In JavaScript | JavaScript Object Prototype Tutorial | Prototype Inheritance JavaScript, Prototype chain in JavaScript.
    ❤️ SUBSCRIBE: ‪@GreatStackDev‬
    👉 30 Best JavaScript Projects: • 30 Days, 30 JavaScript...
    👉 JavaScript Tutorials Playlist: • JavaScript Course For ...
    In this tutorial we will learn about JavaScript Object Prototype with explanation and examples. We will understand what is Prototype in JavaScript Object, How Objects Inherit the prototype, What is Prototype chain and what will happen if we change the prototype property's value.
    #JavaScriptTutorials #JavaScript #WebDevelopment #GreatStack
    -----------------------------------------
    Suggested Course:
    ❤️ Complete website Using HTML and CSS
    ✔️ 8 Complete website step by step
    ✔️ Source Code Download
    ✔️ 76 Lectures, 12 Hours Video
    ✔️ Course Completion certificate
    👉 easytutorialspro.com/go/course/
    -------------------------------------
    Recommended Videos:
    Learn Complete HTML and CSS from basics:
    ► • HTML And CSS Tutorial ...
    Make A Complete Website for college using HTML & CSS:
    ► • How To Make A College ...
    How to make a Business website step by step:
    ► • How To Make Website Us...
    How to make personal resume website step by step:
    ► • How To Make A Website ...
    How to make fitness website design using HTML CSS:
    ► • How To Make A Website ...
    How to make an Ecommerce Website Design:
    ► • How To Make eCommerce ...
    How to make a Job Portal website design with HTML & CSS:
    ► • How To Make Website Us...
    How to make travel website design with HTML CSS Bootstrap:
    ► • How To Make A Website ...
    -------------------------------------
    Connect with me:
    👉 linktr.ee/iamavinashkr
    Connect with GreatStack:
    Instagram: / greatstackdev
    Twitter: / greatstackdev
    Facebook: / greatstack

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

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

    JavaScript Tutorials Playlist: th-cam.com/play/PLjwm_8O3suyM61TZY1w5ufD12nRQCtd2N.html
    JavaScript Projects Playlist: th-cam.com/play/PLjwm_8O3suyOgDS_Z8AWbbq3zpCmR-WE9.html

  • @Bahle_Gaji
    @Bahle_Gaji 11 หลายเดือนก่อน +2

    Started learning Java 2 weeks ago. Halfway through this video and I can understand this so much better than if I didn’t understand objects and inheritance. Thank you

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

    Thanx Brother waiting for next video to come

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

    A very good explanation. Thank you!

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

    you explained very well, thank you so much!

  • @user-em9kt2xc1b
    @user-em9kt2xc1b 9 หลายเดือนก่อน

    Excellent teaching!

  • @johncharles4146
    @johncharles4146 วันที่ผ่านมา

    thanks dude youre the best

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

    Thank you, it was well explained

  • @TanguduSravani-t6o
    @TanguduSravani-t6o 24 วันที่ผ่านมา

    Super explanation

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

    Great video brother ❤

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

    You are the best

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

    hi! Did you made up getFullName method? I mean it wasn't built in js right?

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

    Sir you start a full course for react , JavaScript and python

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

    sir please tell me any javascript book (not beginners book)
    I live in india

  • @xxapoloxx
    @xxapoloxx 10 หลายเดือนก่อน +1

    This isnt inheritance, this is dependency injection handled through reflection.

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

    10:46 you are not changing the prototype's property age but you are changing the whole prototype object by using {age:52}
    if you did Person.prototype.age=52 then all objects new ones and old ones will have same age value . The behaviour in your case Is because of old objects still pointing at the old prototype object which had the age value as 25 . And when you changed the whole prototype object on line 5 any object declared after that will have this other prototype object .
    Summary changing prototype object and changing prototype object's property have different behaviours

  • @user-qe9hc4kv7x
    @user-qe9hc4kv7x 26 วันที่ผ่านมา

    Best video of javascript prototype ❤ for beginners

  • @fatemehasgharzadeh618
    @fatemehasgharzadeh618 10 หลายเดือนก่อน +1

    i found when you want to use arrow function in prototype it dosent work you have to notice the Function keyword.

    • @blazingguyop
      @blazingguyop 5 หลายเดือนก่อน +1

      There are some rules in Arrow function

    • @raoimtinan5051
      @raoimtinan5051 3 หลายเดือนก่อน +1

      i think becuse to access property in prototype use this keyword and in arrow function this keyword go to global scope this reason arrow function not work but simple function allow this keyword so this property when use in simple function it can access value in prototype

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

    nome