Click here to Skip to main content
15,892,809 members
Articles / Web Development

Encapsulation in JavaScript

Rate me:
Please Sign up or sign in to vote.
4.83/5 (56 votes)
1 Oct 2010CPOL3 min read 140.6K   565   71  
This article demonstrates how to create public and private members in JavaScript through a sample.

Views

Daily Counts

Downloads

Weekly Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer Trigent Software Private Limited
India India
I'm a software developer from south tip of India. I spent most of the time in learning new technologies. I've a keen interest in client-side technologies especially JavaScript and admire it is the most beautiful language ever seen.

I like sharing my knowledge and written some non-popular articles. I believe in quality and standards but blames myself for lagging them.

I believe in small things and they makes me happy!

Comments and Discussions