We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 503bcdc commit ef79023Copy full SHA for ef79023
javascript/ql/src/Expressions/MissingAwait.qhelp
@@ -5,7 +5,7 @@
5
<overview>
6
<p>
7
In JavaScript, <code>async</code> functions always return a promise object.
8
-To obtain the underlying value of the promise, the <code>await</code> operator or a call to <code>then</code> should be used.
+To obtain the underlying value of the promise, use the <code>await</code> operator or call the <code>then</code> method.
9
Attempting to use a promise object instead of its underlying value can lead to unexpected behavior.
10
</p>
11
0 commit comments