{"version":"1.0","type":"rich","title":"Gist baa8565f0ec238a1d9fccefd15baf53a","description":"This example demonstrates a minimal JavaScript module system in action, showing how a Car class with a color property and a counter is imported and used. The code defines a Car constructor function that initializes a red car by default, with a `roule` method that increments the counter by the given kilometers. A separate file requires the Car module, creates a green car instance named titine, and calls `roule(5)` to add five kilometers to its counter. The example relies on Node.js’s `require` and `module.exports` APIs to handle module loading and export.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-baa8565f0ec238a1d9fccefd15baf53a?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}