I'm reading this article about Promise chaining, and it says "a handler may return not exactly a promise, but a so-called “thenable” object
". I want to know which of the following is correct:
1) The handler can return a promise or a then-able object, but the then()
method containing the handler must return a promise.
2) The handler can return a promise or a then-able object, and the then()
method containing the handler can also return either a promise or a then-able object.