Synup interview question

Promises in Javascript.