|
|
|
|
|
by punjabisingh
2561 days ago
|
|
I remember it by thinking that Left (error state) has to be handled first. This forces developers to always think of the erroneous state first and foremost. And then define the Right (success state). On the other hand, it may be easier to forget the error state if it were the second argument. As is often the case with Promises and JS developers. |
|