mirror of
https://github.com/github/codeql.git
synced 2026-04-25 16:55:19 +02:00
JS: Dont capitalize Promise in prose
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
<p>
|
||||
In JavaScript, <code>async</code> functions always return a promise object.
|
||||
To obtain the underlying value of the promise, the <code>await</code> operator or a call to <code>then</code> should be used.
|
||||
Attempting to use a Promise object instead of its underlying value can lead to unexpected behavior.
|
||||
Attempting to use a promise object instead of its underlying value can lead to unexpected behavior.
|
||||
</p>
|
||||
|
||||
</overview>
|
||||
|
||||
Reference in New Issue
Block a user