I\'m trying to implement the Revealing Module Pattern but I\'m unable to expose a modified private property.
var myRevealingModule = (function(){ var name =
var myRevealingModule = (function(){ var name = 'Diogo'; function setName () { name = name + ' Cardoso'; }; function getName () { return name; }; return { fullName: name, set: setName, get: getName }; }());
http://jsfiddle.net/yeXMx/