Skip to content

Commit 9d09ada

Browse files
authored
Merge pull request #1613 from dagolinuxoid/patch-3
add consistency
2 parents 16e09cf + fd70f75 commit 9d09ada

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: 1-js/11-async/02-promise-basics/article.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ let promise = new Promise((resolve, reject) => {
205205
});
206206
207207
*!*
208-
// .catch(f) is the same as promise.then(null, f)
208+
// .catch(f) is the same as .then(null, f)
209209
promise.catch(alert); // shows "Error: Whoops!" after 1 second
210210
*/!*
211211
```

0 commit comments

Comments
 (0)