 (function() {   var privateVar = 'Test';    function privateMethod () {     // ...   }    return { // public interface     publicMethod0: function () {       // all private members are accesible here         alert(privateVar);     },     publicMethod0: function () {     }   }; })();  