JavaScript Arrays
✓ Published0🌍 Public
This example demonstrates a minimal JavaScript program that creates an array containing three numeric elements and logs it to the browser console. The code defines the array `[0, 1, 2]` and calls the built-in `console.log` method to output the array. It serves as a bare-bones illustration of array creation and console output using core JavaScript, with no external libraries or data sources. The HTML page provides the structure, while the inline script within the `<body>` tag executes the logic.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed