the next line immediately, but instead wait for the promise to resolve a…ts execution. To get the resolved value of the promise, we use the await keyword and that will tell JavaScript to not execute the next line immediately, but instead wait for the promise to resolve and then exec…