Tag: Modular Programming (Programming Language P…

  • Modular Javascript #6 – Classical Inheritance & OOP with JS

    In this video, we will start covering object oriented programming in Javascript. There are several ways to do it – the first is called “classical inheritance”. Here’s the link to the “inherit” function I use here: https://github.com/nodejs/node-v0.x-archive/blob/master/lib/util.js#L634-L644 Using a constructor, a prototoype, and the “new” keyword, we can create multiple copies or “instances” of a…