Skip to content

Commit

Permalink
thee -> the
Browse files Browse the repository at this point in the history
  • Loading branch information
dragonwocky authored Apr 18, 2019
1 parent a63d623 commit 922170b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 6-data-storage/03-indexeddb/article.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ To do an upgrade, there are two main ways:
1. We can compare versions and run per-version operations.
2. Or we can get a list of existing object stores as `db.objectStoreNames`. That object is a [DOMStringList](https://html.spec.whatwg.org/multipage/common-dom-interfaces.html#domstringlist), and it provides `contains(name)` method to check for the existance. And then we can do updates depending on what exists.

Here's the demo of thee second approach:
Here's the demo of the second approach:

```js
let openRequest = indexedDB.open("db", 1);
Expand Down

0 comments on commit 922170b

Please sign in to comment.