🌍 Public
Viewing a saved revision (read-only)
5a3af78d98354371ba365db2127c9d40
Cars Report
This example demonstrates a simple text-based report of car listings, filtering and formatting data to display each car’s year, make, model, and price. It uses JavaScript modules with `export` and `import` statements, a `Promise` with `setTimeout` to simulate asynchronous data fetching, and the `JSON.parse` method to load embedded car data. The report is generated by chaining `filter`, `map`, and `join` array methods, with results rendered into an HTML `<pre>` element.
AI-generated descriptionAn example tutorial of how to use JavaScript objects, arrays, and modules.