{"version":"1.0","type":"rich","title":"JavaScript Arrays","description":"This example demonstrates common JavaScript array methods for data manipulation and transformation. The code defines a `range` function that creates a numeric array, then uses commented-out examples of `forEach`, `filter`, `sort`, and `map` to show how these operations work. The active portion creates an array of key-value objects and uses `Array.prototype.reduce` to convert it into a single object. The example relies entirely on native JavaScript APIs and is meant to be explored through browser DevTools console output, with no external libraries or visual rendering involved.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/dfc2b9e7364d4e7493982ee734371426?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}