🌍 Public
Viewing a saved revision (read-only)
13f70dbd9727401d8c9d35c5e7547a79
Cars Report
This example shows a simple text-based report of used cars, listing each vehicle’s year, make, model, and price after filtering for models under a $2,000 threshold. It demonstrates async data loading with a JavaScript Promise and module composition using ES6 `import` and `export` statements. The code parses hardcoded JSON car data, simulates a two-second delay with `setTimeout`, and renders the final result into an HTML `<pre>` element via the DOM API.
AI-generated descriptionAn example tutorial of how to use JavaScript objects, arrays, and modules.