Almedia interview question

nothing really, just something about states of promise in javaScript