Skip to content

Commit

Permalink
Merge pull request jakearchibald#6 from tarjei/patch-2
Browse files Browse the repository at this point in the history
Document value when key is not set
  • Loading branch information
jakearchibald authored Dec 12, 2016
2 parents 3479030 + 353b02c commit 54d7960
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ idbKeyval.set('hello', 'world')
idbKeyval.get('hello').then(val => console.log(val));
```

If there is no 'hello' key, then `val` will be `undefined`.

### keys:

```js
Expand Down

0 comments on commit 54d7960

Please sign in to comment.