Skip to content

Commit ef79023

Browse files
asgerfmax-schaefer
andauthored
Update javascript/ql/src/Expressions/MissingAwait.qhelp
Co-Authored-By: Max Schaefer <54907921+max-schaefer@users.noreply.github.com>
1 parent 503bcdc commit ef79023

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

javascript/ql/src/Expressions/MissingAwait.qhelp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
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 <code>await</code> operator or a call to <code>then</code> should be used.
8+
To obtain the underlying value of the promise, use the <code>await</code> operator or call the <code>then</code> method.
99
Attempting to use a promise object instead of its underlying value can lead to unexpected behavior.
1010
</p>
1111

0 commit comments

Comments
 (0)