Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Cars Report

Public visualization

Fork of Cars Report

0 stars0🌍 Public
JJuyeonee
Last edited Aug 8, 2021
Created on Aug 8, 2021
Forked from Cars Report

This example demonstrates a simple car-report generator using JavaScript objects, arrays, and asynchronous modules. It loads a hardcoded list of five car records via a `getCars()` promise, filters them by a maximum price of $2000, and displays the formatted results in an HTML `<pre>` element. The code uses ES6 modules (`import`/`export`), `JSON.parse`, and `setTimeout` to simulate a delayed data fetch. The final output lists matching cars with their year, make, model, and price.

AI-generated description

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

Comments

Sign in to join the discussion.

MIT Licensed