Pregunta de entrevista de BeaconFire Solution

Please explain promise in JavaScript.