Yes, it is. You should avoid nested promises, as that is one of the main things they were designed to "fix."

```
promise.then(function () {
     return 13;
}).then(function (x) {
    console.log(x); // 13
    return anotherPromise; // returns 5 when resolved
}).then(function (y) {
    console.log(y); // 5
});
```