-
Which function is used to return a handle to the database?
-
- executeSql()
- openDatabase()
- prepareDatabase()
- showDocCount()
- None of these
Correct Option: C
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).