Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

JS arrays

Public visualization

Viewing a saved revision (read-only)

f352fc89a0cf456e863dec0c1cbe31eb

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.