Promises are a modern way to handle async operations. They represent a value that might be available now, later, or never.
makePromise that returns a new Promiseresolve with the string "Success!"makePromise and use .then() to update the result variable with the resolved valueSubmit your code to see test results