Which function is used to return a handle to the database?
Which function is used to return a handle to the database? Correct Answer prepareDatabase()
prepareDatabase() function is used to return a handle to database. It is necessary to first create the database. showDocCount() shows the real work after creating the database. Syntax of calling a JavaScript function is: function prepareDatabase(ready, error).