(pouchdb/pouchdb#2543) - don't leak arguments object

as promised