Link Details

Link 756087 thumbnail
User 985299 avatar

By viksamy
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
  • 1012
  • 888


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)

    Play Framework
    Written by: Ryan Knight
    Featured Refcardz: Top Refcardz:
    1. Akka
    2. Design Patterns
    3. OO JS
    4. Cont. Delivery
    5. HTML5 Mobile
    1. Akka
    2. JUnit/EasyMock
    3. Java Performance
    4. REST
    5. Java