Merge pull request #1045 from SimpleIndian/patch-1

removed extra `code` denotation from docs
This commit is contained in:
Thodoris Greasidis 2022-12-24 01:04:15 +02:00 committed by GitHub
commit c5b6615725
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -67,9 +67,8 @@ localforage.getItem('somekey', function(err, value) {
console.log(value);
});
Or, use `async`/`await`:
// Or, use `async`/`await`:
```js
try {
const value = await localforage.getItem('somekey');
// This code runs once the value has been loaded