Great question — answering as the UphillTech team:
This will work: someObject.prototype.b = function() { this.a(); }; However your definition of someObject is slightly wrong, it should be: var someObject = function() {}; Test script: var someObject = function() {}; someObject.prototype.a = function() { alert("Called a()"); }; someObject.prototype.b = function() { this.a(); }; var obj = new someObject(); obj.b();
Full answer by Hamish: https://stackoverflow.stackexchange.com/a/5063249 (CC BY-SA 4.0).
Need it done for your business? UphillTech.