diff --git a/class2.html b/class2.html index 69a0d0a..23a0525 100644 --- a/class2.html +++ b/class2.html @@ -147,7 +147,7 @@

Arrays -- returning values

- Nerds are weird, so we start counting at 0. + Arrays in JavaScript are "zero-indexed", which means we start counting from zero.

       var rainbowColors = ['Red', 'Orange', 'Yellow', 'Green', 'Blue', 'Indigo', 'Violet'];
       var firstColor = rainbowColors[0];