In the head of this document is this array:var colours = new Array ("Red","Green","Blue");
Here's how we can get some values out of it:
And here's how we could change one of the values:
After clicking the link above, go back and click "colours" to see it's been changed.
Back to examples