JavaScript Arrays
✓ Published0🌍 Public
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 descriptionMIT Licensed