I think that's not the right way to fix this. Instead of redefining `callback`, it should be a reassignment:

````
callback = maybeCallback(arguments[arguments.length - 1]);
````