{"version":"1.0","type":"rich","title":"JS Bin","description":"This example demonstrates the Fibonacci sequence through a custom JavaScript iterator. The code defines an object with a `[Symbol.iterator]` method that generates successive Fibonacci numbers, logging each value to the console. A `for...of` loop consumes the iterator and breaks once a value exceeds 50, triggering the iterator’s `return` method to log \"finished---\". The example uses native JavaScript iteration protocols rather than any external libraries, with console output as the only visualization.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-25bcb47bb9af4a3a1f5c40f3427cda0e?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}