Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
var canceller = aFunc(argument, function() {
self.completed = true;
var args = Array.prototype.slice.call(arguments, 0);
args.unshift(self.callback);
nextTick.apply(null, args);
});
this.cancelFunc = function() {