Skip to content

Commit c3a9bbd

Browse files
committed
minor fixes
1 parent e4c769d commit c3a9bbd

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

1-js/11-async/08-async-await/02-rewrite-async-2/solution.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
There are no tricks here. Just replace `.catch` with `try...catch` inside `demoGithubUser` and add `async/await` where needed:
2+
There are no tricks here. Just replace `.catch` with `try..catch` inside `demoGithubUser` and add `async/await` where needed:
33

44
```js run
55
class HttpError extends Error {

6-data-storage/03-indexeddb/article.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@ The native interface to IndexedDB, described in the specification <https://www.w
1818

1919
We can also use `async/await` with the help of a promise-based wrapper, like <https://github.com/jakearchibald/idb>. That's pretty convenient, but the wrapper is not perfect, it can't replace events for all cases. So we'll start with events, and then, after we gain an understanding of IndexedDb, we'll use the wrapper.
2020

21+
```smart header="Where's the data?"
22+
Technically, the data is usually stored in the visitor's home directory, along with browser settings, extensions, etc.
23+
24+
Different browsers and OS-level users have each their own independant storage.
25+
```
26+
2127
## Open database
2228

2329
To start working with IndexedDB, we first need to `open` (connect to) a database.

0 commit comments

Comments
 (0)