Skip to content

Commit 2a586e3

Browse files
LiranBridgeAR
authored andcommitted
comment with reference out of code block
1 parent 80f6960 commit 2a586e3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,10 @@ now *getAsync* is a promisified version of *client.get*:
7070
return getAsync('foo').then(function(res) {
7171
console.log(res); // => 'bar'
7272
});
73+
```
7374

74-
// or using [async await](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/async_function)
75+
or using [async await](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/async_function):
76+
```js
7577
async myFunc() {
7678
const res = await getAsync('foo');
7779
console.log(res);

0 commit comments

Comments
 (0)