Using OOP in JavaScript: Use private and public functions and variables

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 157 All time: 318 This week: 15Up
Version License JavaScript version Categories
using-oop 1.0GNU General Publi...1.0.1Language
Description Author

This is a simple object that Use private and public functions and variables.

The object has one private variable and function declared with var and another public variable and function defined using this.

It is meant to demonstrate how to implement Object Oriented Programming in JavaScript.

Picture of Renato Menezes Portugal
  Performance   Level  
Name: Renato Menezes Portugal <contact>
Classes: 1 package by
Country: Brazil Brazil
Age: 41
All time rank: 14013 in Brazil Brazil
Week rank: 13 Up2 in Brazil Brazil Up

  • Using_OOP.jpeg
  Files folder image Files  
File Role Description
Accessible without login Plain text file script.js Class Principal Class
Accessible without login Plain text file UsingOOP.html Example Example File and Documentation.

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:318
This week:15Up