🌍 Public
Viewing a saved revision (read-only)
be0fe0ff00bc4eabaa114527d9e8c5e2
JavaScript Arrays
This example shows how to modify a JavaScript array using the `push` method. It defines an array containing two string elements, `"A"` and `"B"`, then appends a third string, `"C"`, and logs the resulting array to the browser console. The code runs in a minimal HTML shell with no external libraries, relying solely on the native JavaScript `console.log` API for output.
AI-generated description