Created
December 7, 2012 15:31
-
-
Save ralt/4233983 to your computer and use it in GitHub Desktop.
information hiding in closures
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var hidden; | |
module.exports = { | |
public: function() { | |
return hidden; | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment