Please send questions to st10@humboldt.edu .
<html>

<!-- 
     js_arr3.html

     adapted by: Sharon Tuttle
     last modified: 09-07-06
-->

<head>
    <title> js_arr3 </title>
</head>

<body>
    <h3> js_arr3.html </h3>

    <h4> (by Sharon Tuttle, last modified 09-07-06) </h4>

    <hr>

    <script type="text/javascript">
        <!--
	    var chocolates = ["Ghirardelli", , "See's", , , "Hershey's", , ,]

            document.write("<h2> Using commas as placeholders in an array" +
                           " literal, what is in the chocolates array?" +
                           " </h2>")

            document.write("<ul>")
            for (var i=0; i< chocolates.length; i++)
	    {
                document.write("<li> chocolates[" + i + "]: " + 
                             chocolates[i] + " </li>")
            }
            document.write("</ul>")

        //-->
    </script>
    <noscript> 
        <hr> 
        <h3> Your browser does not support JavaScript, or has it disabled;
             <br> 
             please note that, as a result, this page will not work. </h3> 
        <hr> 
    </noscript> 

    <hr>

</body>
</html>