The KIRUPA orange logo! A stylized orange made to look like a glass of orange juice! Tutorials Books Videos Newsletter


Customize Theme




Using Prototype to Add New Properties

by Ben Fhala (02GEEK)   |   6 November 2012

When working in OOP in javascript there are a few ways to add new properties. The first way is adding the properties in the constructor function while the other is using the prototype. In this video we explore both and understand their relationship and their scope.

Hit Play below to get get rolling:

Going Further

For more JavaScript-related videos, check out my JavaScript video tutorials!

- Ben Fhala

The KIRUPA Newsletter

Thought provoking content that lives at the intersection of design 🎨, development 🤖, and business 💰 - delivered weekly to over a bazillion subscribers!


Serving you freshly baked content since 1998!
Killer hosting by GoDaddy

Twitter Youtube Facebook Pinterest Instagram Github