Pergunta de entrevista da empresa Dynamic Yield

Do you know how promises work internally?