Typo in IndexedDB example
lexara-prime-ai opened this issue · comments
Irfan Ghat commented
There might have been a typo or perhaps an update was made to the documentation but not on the example
Example Code Snippet
async function init() {
db = await idb.openDb('booksDb', 1, db => {
db.createObjectStore('books', {keyPath: 'name'});
});