Pergunta de entrevista da empresa Sugoi Labs

What are promises in JavaScript?