{"version":"1.0","type":"rich","title":"javascript array","description":"This example demonstrates a minimal JavaScript array manipulation workflow, showing how to generate a sequence of numbers and transform it into an array of objects with computed properties. The code defines a `range` function that pushes numbers from 0 to `n-1` into an array, then logs the initial sequence and a mapped version where each number is paired with its double. Built with plain HTML and JavaScript, it relies on native array methods like `push` and `map`, with no external libraries or frameworks. The console output serves as the primary visualization, illustrating the transformation steps directly.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/5e557b2809b8495a8922bbee589bbfa0?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}