Click here to Skip to main content
13,146,739 members (89,834 online)
Click here to Skip to main content
Articles » Web Development » Ajax » General » Alternatives
Add your own
alternative version


26 bookmarked
Posted 14 Dec 2010

Safe Factory Pattern - Private instance state in JavaScript

, 18 Jul 2014
Enabling private state in any JavaScript object.


Members may post updates or alternatives to this current article in order to show different approaches or add new features.

No alternatives have been posted.


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


About the Author

Duarte Cunha Leão
Software Developer WebDetails
Portugal Portugal
I am an electrical engineer, but instead I do programming for a living. Currently, I work at WebDetails (a Pentaho company), where among other things, I maintain the CTools' CCC charting library.

"The true sign of intelligence is not knowledge but imagination." [Einstein]

| | Privacy | Terms of Use | Mobile
Web03 | 2.8.170915.1 | Last Updated 18 Jul 2014
Article Copyright 2010 by Duarte Cunha Leão
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid