Cars Report
This example displays a text-based report of cars with a price under $2000, formatted as a list of strings in a pre element. It filters a hard-coded JSON array of car objects using the JavaScript `filter` method and transforms each matching entry into a formatted line with `map`, then joins the lines with newline characters. The report includes year, make, model, and price, and is rendered to the DOM via `document.getElementById` and `textContent`. The React framework is not used for output; the code runs as plain JavaScript.