Question
In this exercise, we are chaining several then()
methods to each other. Is there a limit to how many then()
methods you can chain?
Answer
No, there is no strict limit to how many then()
handlers can be chained. Each then()
handler is simply passed the result of the previous handler it is changed to, and you can chain as many as needed. However, chaining many of them is not too common and can be considered bad practice.