Cars Report
✓ Published0🌍 Public
This example demonstrates the Cars Report application, which filters a list of five used cars by price and displays a formatted text report listing each car’s year, make, model, and cost. It loads the car data from an inline JSON array using the `getCars()` function, which returns a Promise with a two-second delay to simulate asynchronous fetching. The code uses JavaScript modules, array methods like `filter` and `map`, template literals, and `Promise` resolution to generate the final output in a `<pre>` element.
AI-generated descriptionAn example tutorial of how to use JavaScript objects, arrays, and modules.
MIT Licensed