Cars Report
This example demonstrates a JavaScript application that displays a text-based report of cars priced under a user-defined threshold. It shows how to fetch, filter, and format data asynchronously. The code uses JavaScript arrays, objects, and Promise-based functions like `getCars` and `generateReport`, with ES6 modules for `formatCar`. The report is rendered in an HTML `<pre>` element via the DOM, after a simulated 2-second delay, and the data comes from inline JSON.