Google News
logo
PouchDB - Quiz(MCQ)
What is the syntax for creating a new instance of PouchDB?
A)
var db = new PouchDB(“mydb”);
B)
var db = new Database(“mydb”);
C)
var db = createPouchDB(“mydb”);
D)
var db = PouchDB.create(“mydb”);

Correct Answer :   var db = new PouchDB(“mydb”);


Explanation : The syntax for creating a new instance of PouchDB is “var db = new PouchDB(‘mydb’)”.

Advertisement