Cars Report
This example demonstrates a simple text-based report of used cars filtered by price. It displays a list of five cars—including year, make, model, and cost—showing only those priced under $2,000. The code uses standard JavaScript Promises via `getCars().then()` to load embedded JSON data, then employs `filter()` and `map()` to process the array. It relies on `formatCar.js` and `generateReport.js` to format each entry into a readable string, which is rendered into a `<pre>` element using the DOM API `textContent`.