Previous Example-|-Next Example-|-Return to Chapter Listing
Example 9.7:
Automatically Extending the Array
[This example works with Netscape Navigator 3 and Internet Explorer 3.]
This is much the same as the previous example, but this time we've assigned the words the end to array element 9; as the array is not that long, JavaScript has to extend the array for us.
This is the script we used in the HEAD:
And here's the script in the BODY:
Previous Example-|-Next Example-|-Return to Chapter Listing