Manually merge in changeset 501:c39dede7ad37 from default.
function Proto () {
}
Proto.prototype = new Object()
function extra() {
anotherglobal = 3;
}
Proto.prototype.myfunc = function() {
var oo = inst;
myglobal = 2;
extra();
this.foo = 3;
globalString = "77" + globalString;
return globalString;
}