diff --git a/open-in-web-browser.html b/open-in-web-browser.html index 867fb9a..aa10c71 100644 --- a/open-in-web-browser.html +++ b/open-in-web-browser.html @@ -3869,7 +3869,7 @@

7.7 : Catching Rejections in the Chain with catch()

  1. The catch() method is typically used over providing each then() with a rejection parameter.
  2. Notice how readable the code in this section becomes once a single rejection function was used via a catch() over providing a rejection function for each then().
  3. -
  4. The catch() method is simply a short-hand for, .then(null, error => { // do something with error }).
  5. +
  6. The catch() method is simply a short-hand for, .then(undefined, error => { // do something with error }).