• Thursday , 22 August 2019

Javascript Classes and Inheritance Tutorial

Code Canyon



We show how Javascript does inheritance (without classes) and explain Prototype vs Classical inheritance.

Original source

3d Ocean

Related Posts

8 Comments

  1. mindprism
    July 10, 2019 at 01:49

    So couldn't you do in the constructor…

    this.constructor.prototype.sayHi=this.constructor.prototype.sayHi || function sayHi(){}

  2. mindprism
    July 10, 2019 at 01:49

    this.constructor.prototype.sayHi=this.constructor.prototype.sayHi || function sayHi(){}

  3. Brian Fitzgerald
    July 10, 2019 at 01:49

    Ha! Took C++ from you back in the 90's and still live in Columbia. Happened to stumble on this video. Cheers 🙂

  4. clenard
    July 10, 2019 at 01:49

    Very helpful video. Thanks!

  5. Christopher Grabowski
    July 10, 2019 at 01:49

    First thing everyone says when they first learn this: "What?"

  6. Артем МатЛектор
    July 10, 2019 at 01:49

    that was cool! thx!

  7. José Vidal
    July 10, 2019 at 01:49

    I am using eclipse as the editor, and Chrome tools for debugging.

  8. Eckart Mildenstein
    July 10, 2019 at 01:49

    Thanks! What javascript editor are you using?

Leave A Comment

You must be logged in to post a comment.