{"version":"1.0","type":"rich","title":"JavaScript Arrays","description":"This example demonstrates the creation of a JavaScript array using a custom `range` function defined with a `const` arrow function. The function initializes an empty array, calls `push` to add the value `0`, and then returns the array. The code invokes `range(5)` and logs the resulting array to the browser console via `console.log`. It relies solely on native JavaScript ECMAScript syntax and the `Array.prototype.push` method, with no external libraries or data sources. The visualization is strictly a code execution output shown in the console.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/2486b7b2fa654dc0b469ee064f62f7e2?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}