Skip to main content
100%

Fork of Cars Report

✓ Published0🌍 Public
JJacky
Last edited Sep 13, 2024
Created on Sep 13, 2024
Forked from Cars Report

This example demonstrates a data-processing pipeline for a car inventory report. It uses JavaScript arrays, objects, and promises to load car data from a hard-coded JSON string, filter the list by a maximum price, and format each matching record into a readable string. The final report (e.g., "2000 Honda Accord: $2800") is rendered inside an HTML `<pre>` element. The code relies on modern JavaScript features like destructuring, the `map` and `filter` array methods, an exported `Promise` (via `getCars`), and a module-based structure using `import`/`export` syntax.

AI-generated description

An example tutorial of how to use JavaScript objects, arrays, and modules.

MIT Licensed

Similar vizzes