Another way to do this is to make engine.makeConnection take no additional parameter and make it execute its callback as is, without binding it to any object.
Then bind the function to "this" in Object.prototype.makeConnection.
Another way to do this is to make engine. makeConnection take no additional parameter and make it execute its callback as is, without binding it to any object.
Then bind the function to "this" in Object. prototype. makeConnection.