Pregunta de entrevista de Lighthouse Labs

Promises in JavaScript and Db question