Link Details

Link 756087 thumbnail
User 985299 avatar

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.
  • 4
  • 0
  • 1002
  • 888

Comments

Add your comment
User 388907 avatar

MCII replied ago:

0 votes Vote down Vote up Reply

"keeping data private in JavaScript" is highly overrated among bloggers. YAGNI. For most practical uses the functional acrobatics are unnecessary and merely complicate matters.

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (4)



Voters Against This Link (0)



    Java Performance Optimization
    Written by: Pierre-Hugues Charbonneau
    Featured Refcardz: Top Refcardz:
    1. Design Patterns
    2. OO JS
    3. Cont. Delivery
    4. Java EE7
    5. HTML5 Mobile
    1. Node.js
    2. Debugging JavaScript
    3. OO JS
    4. JSON
    5. Ajax