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

FORUMS

Customize Theme


Color

Background


Done

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 100,000 subscribers!

SUBSCRIBE NOW

Serving you freshly baked content since 1998!
Killer hosting by (mt) mediatemple

Twitter Youtube Facebook Pinterest Instagram Github