JS Arrays
This example demonstrates JavaScript array manipulation using a custom `range` function to generate an array of ten numbers, then mapping each element to an object containing the original number and its double. The code logs the resulting array of objects to the browser console. It uses the native array methods `push`, `map`, and `forEach`, with additional commented-out examples showing `filter`, `sort`, and `reverse` operations. The visualization is purely text-based, with output appearing in the developer console rather than on the page.