<html> <body> <!-- Array examples - part 1 - typed into the W3Schools JavaScript School Examples window during class on 9-7-06 (edited slightly afterwards before posting) --> <script type="text/javascript"> document.write("Hello 318 World!") var items = new Array(3) items[0] = "george" items[1] = 3 items[2] = 7 document.write("<br>items size: ", items.length) items.sort() document.write("<br>", items.toString()) </script> </body> </html>