Private Members in JavaScript

Author: 
Published: November 30, 2011
Link: http://javascript.crockford.com/private.html
Excerpt: “JavaScript is the world’s most misunderstood programming language. Some believe that it lacks the property of information hiding because objects cannot have private instance variables and methods. But this is a misunderstanding. JavaScript objects can have private members. Here’s how.”

Tagged with:
Posted in Javascript

Categories