pouchdb/pouchdb — pull request #3252 by garrensmith (2014-12-24 13:42:01+00:00)
Title: Use array.reduce instead of array.forEach

Makes this method a little neater by using reduce instead of forEach.