Created
August 25, 2009 08:50
Revisions
-
ardcore created this gist
Aug 25, 2009 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,12 @@ var MyClass; (function() { MyClass = function() { this.val = 2; } MyClass.prototype.publicFunction = function() { return privateFunction.call(this); } privateFunction = function() { return this.val + " is the value of val"; } })();