The idea behind partial classes is that you can group certain functions together. The best example of this in C# is putting control definitions in one file and the event han
If such a split makes real sense then you can do this:
File #1
function MyObjectType() { this.init(); }
File #2
MyObjectType.prototype.init = function() { this.one = 1; }
File #3
MyObjectType.prototype.onClick = function() { if(this.one == 1) alert("I am so alone..."); }
And somewhere else you can use it as:
var myObject = new MyObjectType();
myObject.onClick();
Welcome to prototype yet kinda functional programming world!