Pergunta de entrevista da empresa Credit Karma

How do you build a Promise from scratch?