🌍 Public
Viewing a saved revision (read-only)
90a0ba5b083f4b3b8385c2b2fcea1aa9
Javascript arrays
This example demonstrates how JavaScript arrays store and retrieve values. It creates an array containing two string elements, "A" and "B", and then logs the element at index zero to the console using `console.log(array[0])`. The visualization consists of a minimal HTML page with embedded JavaScript, showing the fundamental array access pattern without any external libraries or data sources.
AI-generated description