Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

JS arrays

Public visualization

Viewing a saved revision (read-only)

aab791938ed24d8192c01fd243e05f76

JS arrays

0 stars0🌍 Public
Ppirani.sabah@gmail.com
Last edited Nov 18, 2024
Created on Nov 18, 2024
Forked from HTML Starter

This example demonstrates how JavaScript arrays are built and logged to the browser console. The code defines a `range` function that uses a `for` loop to populate an array with numbers from a start value up to a stop value, stepping by a specified increment. It then calls this function with arguments (2, 5, 1) and outputs the result using `console.log`. The page is a minimal HTML structure with embedded JavaScript, showcasing basic array manipulation and iteration without any external libraries or frameworks.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.