Coding task · JavaScript and TypeScript course · Module 4: Asynchronous JavaScript

Practice: async/await

Use async/await to fetch data. An async function automatically returns a Promise, and await pauses execution until the Promise resolves.

Task

Write an async function that uses await to sequentially check three dinosaur sensors and display the results.