Skip to content

Commit e8f0e38

Browse files
committed
JS: Replace backticks with <code>
1 parent eb82b17 commit e8f0e38

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

javascript/ql/src/Expressions/MissingAwait.qhelp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,16 @@
55
<overview>
66
<p>
77
In JavaScript, <code>async</code> functions always return a promise object.
8-
To obtain the underlying value of the promise, the `await` operator or a call to `then` should be used.
8+
To obtain the underlying value of the promise, the <code>await</code. operator or a call to <code>then</code. should be used.
99
Attempting to use a Promise object instead of its underlying value can lead to expected behavior.
1010
</p>
1111

1212
</overview>
1313
<recommendation>
1414

1515
<p>
16-
Use the `await` operator to get the value contained in the promise.
17-
Alternatively, call `then` on the promise and use the value passed to the callback.
16+
Use the <code>await</code. operator to get the value contained in the promise.
17+
Alternatively, call <code>then</code. on the promise and use the value passed to the callback.
1818
</p>
1919

2020
</recommendation>

0 commit comments

Comments
 (0)