By viksamy
via css.dzone.com
Published: Mar 05 2012 / 15:54
This approach works as follows: When a constructor is invoked, two things are created: The constructor’s instance and an environment. The instance is to be initialized by the constructor.
Tweet
SaveShareSend
Tags: javascript
Comments
MCII replied ago:
"keeping data private in JavaScript" is highly overrated among bloggers. YAGNI. For most practical uses the functional acrobatics are unnecessary and merely complicate matters.
Voters For This Link (4)
Voters Against This Link (0)