var Hero = function(name){ if(this.constructor.name !== 'Hero') { return new Hero(name) } this.name = name; (function(){ console.log(`Hi this is ${name}`) })() return Promise.resolve(this) } Promise.prototype.kill = function(num){ return this.then(()=>...