I wanna do great things | 2 Chronicles 17:6
But if you have a .catch a level below the .then, then the .catch catches errors of executor function and the errors of .then handler too. It makes sense because .then always returns a promise. It is shown on line 12–16.
To ensure that promises are not fired immediately but evaluates lazily, we wrap them in functions. We’ll see an example of this later.
The other important thing to note is that a promise is evaluated eagerly. Itstarts its execution as soon as you declare and bind it to a variables. There is no .start or .begin method. Like it began in the previous example.