Click here to Skip to main content
13,090,730 members (43,316 online)
Click here to Skip to main content


69 bookmarked
Posted 13 Sep 2010

Encapsulation in JavaScript

, 1 Oct 2010
This article demonstrates how to create public and private members in JavaScript through a sample.



Compare Revision Minor Date Status Editor
4 - publicly available No 14-Nov-10 1:50 Available Smitha Nishant
3 No 1-Oct-10 1:35 Composing After2050
2 No 23-Sep-10 19:12 Composing After2050
1 No 10-Sep-10 3:53 Composing After2050


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


About the Author

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!

You may also be interested in...

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web04 | 2.8.170813.1 | Last Updated 1 Oct 2010
Article Copyright 2010 by After2050
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid