Tutorials Books Videos Forums

Change the theme! Search!
Rambo ftw!

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 a bazillion subscribers!

SUBSCRIBE NOW

Creating engaging and entertaining content for designers and developers since 1998.

Follow:

Popular

Loose Ends

:: Copyright KIRUPA 2024 //--