Problem: Promises resolve only with a single value. If you want to pass on the result of PromiseCall1 to PromiseCall2, you have different options:
You can nest a
.then() for Promise Call 2 and return both value from the scope.
- Nesting makes it harder to read and should be avoided