Cars Report
This example demonstrates a text-based car report generated from an in-memory JSON dataset of five vehicles. It shows filtered results, listing cars priced under $2000 as formatted strings combining year, make, model, and price. The implementation uses JavaScript arrays, objects, destructuring, and template literals, with `Array.filter`, `Array.map`, and `Array.join` to transform the data. The report displays in an HTML `<pre>` element, while separate modules (`cars.js`, `formatCar.js`, `generateReport.js`, and `getCars.js`) illustrate modular code organization and a simulated asynchronous `getCars` promise.