Modular Javascript #6 - Classical Inheritance & OOP with JS @learncodeacademy
Modular Javascript #6 - Classical Inheritance & OOP with JS  @learncodeacademy
Uploaded September 2015 | Updated September 2026, 1 week ago
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:
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 module, each with unique properties, but shared functionality.

We can also implement inheritance in Javascript. If we create a new module, we can inherit the functionality of a parent module with a simple inheritance helper function.

-~-~~-~~~-~~-~-
Also watch: "Responsive Design Tutorial - Tips for making web sites look great on any device"
youtube.com/watch?v=fgOO9YUFlGI
-~-~~-~~~-~~-~-
Modular Javascript #6 - Classical Inheritance & OOP with JSVue Tutorial #3 - Vue.js directives and event listenersCSS Units - Which ones to use and which to stop using! - HTML CSS TutorialScaling Docker #2 - Tutorial on Scheduling Docker Containers across CoreOS machine with FleetHow to put your website online - how to FTP to a domain & upload files to a webhostBasic Redux Introduction - Redux Tutorial #3Ultimate Hacking Keyboard UHK60 - Mechanical Keyboard ReviewJavascript Tutorial - Programming Tutorial for Beginners Pt 1STOP USING FTP!  - How to Deploy with Flightplan over SSHREACT JS TUTORIAL #3 - Composing Multiple React.js ComponentsScaling Docker #1 - High Availability Docker DevOps with CoreOS, Etcd, Fleet, Flannel & NginxWeb Dev Training with Treehouse
LearnCode.academy |

Modular Javascript #6 - Classical Inheritance & OOP with JS

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER