You can just say
callback();
Alternately you can use the call method if you want to adjust the value of this within the callback.
callback.call( newValueForThis);
Inside the function this would be whatever newValueForThis is.
You can just say
callback();
Alternately you can use the call method if you want to adjust the value of this within the callback.
callback.call( newValueForThis);
Inside the function this would be whatever newValueForThis is.