The destroy()
method doesn't actually return anything for info
. The fact that error
is null indicates that everything was successful.
This is actually a bug in the documentation of PouchDB, which we'll fix.
FWIW, though, your jsfiddle doesn't work for unrelated reasons: the fiddle environment doesn't seem to have access to any local databases, so in Firefox I see Error: No valid adapter found
.