Cars Report
This example shows how JavaScript objects, arrays, and modules can generate a text-based car report. After a simulated two-second delay from a Promise, it filters a hardcoded JSON array of five cars by price, formats each matching car’s year, make, model, and price, and displays the result as a multi-line string in the HTML page. The code uses ES6 module imports and exports, `Array.prototype.filter` and `map`, and template literals to transform the data.