diff --git a/javascript/ql/src/Expressions/MissingAwait.qhelp b/javascript/ql/src/Expressions/MissingAwait.qhelp index e48fe35a12a..08593e7eeac 100644 --- a/javascript/ql/src/Expressions/MissingAwait.qhelp +++ b/javascript/ql/src/Expressions/MissingAwait.qhelp @@ -5,16 +5,16 @@

In JavaScript, async functions always return a promise object. -To obtain the underlying value of the promise, the awaitthenawait operator or a call to then should be used. +Attempting to use a Promise object instead of its underlying value can lead to unexpected behavior.

-Use the awaitthenawait operator to get the value contained in the promise. +Alternatively, call then on the promise and use the value passed to the callback.