Sample code to execute promises in sequence

To add to previous reply, there are some online references that use async/await which I would prefer to avoid because I’m trying to stick to using Promises directly. Also the two patterns I’ve seen so far both rely on the use of a promise factory.