js array
This example demonstrates a JavaScript array created with a custom `range` function, which generates numbers from 0 to 9. The code uses plain JavaScript (no external libraries) to populate an array via a `for` loop, then iterates through it using `forEach`, logging each element to the console with `console.log`. It shows a simple array construction and iteration pattern in a bare HTML page.