Undefined PouchDB Javascript
EduFaus (8)

Soooooo Im very bad at coding and lazy so when I used Pouch DB ( BEST DATABASE FOR JAVASCRIPT ) I thought to myself how can I make this easier so I thought hey lets make functions do all the boring and repetetive stuff so I made a function to Get things from the database I programmed it so it would return the value / But It returns undefined for some reason but if in the function I console.log the value Its not undefined I think I coukd resolve this by making a third paramater of a function to run but then when I use the function Im still going to write kind of alot so I want to see if you people have a better solution.

You are viewing a single comment. View All