Question from the Javascript - Fundamentals test

What are the advantages of using promises in Javascript?