Q: What is the relationship between an ansync function and a Promise?
Sigiloso
Async functions are a syntax adjustment to the language (2017) that came after the introduction of promises (2012) in order to try to address the cleanliness of JavaScript and its "callback hell". In essence they do the same thing as promises but they're built into the language. The answer the interviewer was looking for: async functions return promises. Anyone worth their salt would appreciate that answer. Dates were not included in the answer - just added for clarification.