You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 6-async/02-promise-basics/article.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -96,7 +96,7 @@ let promise = new Promise(function(resolve, reject) {
96
96
97
97
The idea is that a job done by the executor may have only one result or an error. In programming, there exist other data structures that allow many "flowing" results, for instance streams and queues. They have their own advantages and disadvantages versus promises. They are not supported by JavaScript core and lack certain language features that promises provide, we don't cover them here to concentrate on promises.
98
98
99
-
Also we if we call `resolve/reject` with more then one argument -- only the first argument is used, the next ones are ignored.
99
+
Also if we call `resolve/reject` with more then one argument -- only the first argument is used, the next ones are ignored.
0 commit comments