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: 159 All time: 319 This week: 4Up
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: 43
All time rank: 14113 in Brazil Brazil
Week rank: 6 Up1 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:319
This week:4Up