I am trying to bind (ie bind(this)) the inline anonymous callback function to the object How can it be done?
bind
bind(this)
object
Simplified exampl
The same way you always use bind.
Get a reference to the function (such as is returned by a function expression), and call the bind method on it.
aFunctionWithCallback(this.id, function(data) { console.log(this); }.bind(this));