Inheritance using Object.create() in JavaScript

Поділитися
Вставка
  • Опубліковано 5 вер 2024
  • In this lecture, you will learn how to implement inheritance between objects using Object.create method. The Object.create() method
    - Creates an empty object based on a prototype object.
    - That empty object inherits from the prototype object.

КОМЕНТАРІ • 15

  • @BharathKumar-cn8nt
    @BharathKumar-cn8nt 3 місяці тому

    Thanks for this valuable series

  • @munashechako7960
    @munashechako7960 9 місяців тому

    amazing lecture. thank you

  • @baabu9940
    @baabu9940 11 місяців тому

    Excellent series - Your style of teaching is so crystal clear. Thank you !

  • @LearningMirror
    @LearningMirror 3 роки тому +1

    Great work 👍 keep uploading. Very informative

  • @Ayofefaheez-eu8jh
    @Ayofefaheez-eu8jh 8 місяців тому

    great lecture so far, can you please share the github repository link for this course

  • @TheMasterTori
    @TheMasterTori Рік тому

    Top class lectures !! thanks you

  • @funcomedy2
    @funcomedy2 9 місяців тому

    Nice explanation! Thank you🤓

  • @chamodh1964
    @chamodh1964 Рік тому

    Great series for OOP in Js!

  • @Minimaos1
    @Minimaos1 2 роки тому

    Nice explanation! Thank you

  • @meysam8357
    @meysam8357 2 роки тому

    Thank you as usual great tutorial

  • @kuntzherald8703
    @kuntzherald8703 2 роки тому

    great!!!!

  • @Babe_Chinwendum
    @Babe_Chinwendum 2 роки тому +1

    Thanks. Why is it that employee is not before the curly braces in the console.log when you output and instance of it

    • @procademy
      @procademy  2 роки тому

      Object.create method does not create an instance of existing object. Instead it creates a new object from an existing object. That's why you don't see Employee before the object.
      An instance can be created using constructor function or class. In that case, you will the object name in the output for which the instance is created.

  • @dyracho6667
    @dyracho6667 2 роки тому

    thank you.

  • @KiranKumar-zb2fb
    @KiranKumar-zb2fb Рік тому

    if start working on something please complete it.🤐