Pergunta de entrevista da empresa Deutsche Bank

functionality of promises in javascript.