With promises, we get the ability to use async/await — syntax that can convert nested, hard-to-read functions into straightforward and easy-to-digest code. Let's take a look at how we can convert our own legacy code or other browser APIs such as geolocation, which still rely on callbacks, into Promise-ready functions.