Capitalize "s" in JavaScript for challenge.

This commit is contained in:
Jose Tello
2016-04-09 00:30:52 -07:00
parent 6f9b6d7f2b
commit 747be9439a

View File

@ -4734,7 +4734,7 @@
"id": "5675e877dbd60be8ad28edc6", "id": "5675e877dbd60be8ad28edc6",
"title": "Iterate Through an Array with a For Loop", "title": "Iterate Through an Array with a For Loop",
"description": [ "description": [
"A common task in Javascript is to iterate through the contents of an array. One way to do that is with a <code>for</code> loop. This code will output each element of the array <code>arr</code> to the console:", "A common task in JavaScript is to iterate through the contents of an array. One way to do that is with a <code>for</code> loop. This code will output each element of the array <code>arr</code> to the console:",
"<blockquote>var arr = [10,9,8,7,6];<br>for (var i=0; i < arr.length; i++) {<br> console.log(arr[i]);<br>}</blockquote>", "<blockquote>var arr = [10,9,8,7,6];<br>for (var i=0; i < arr.length; i++) {<br> console.log(arr[i]);<br>}</blockquote>",
"Remember that Arrays have zero-based numbering, which means the last index of the array is length - 1. Our <dfn>condition</dfn> for this loop is <code>i < arr.length</code>, which stops when <code>i</code> is at length - 1.", "Remember that Arrays have zero-based numbering, which means the last index of the array is length - 1. Our <dfn>condition</dfn> for this loop is <code>i < arr.length</code>, which stops when <code>i</code> is at length - 1.",
"<h4>Instructions</h4>", "<h4>Instructions</h4>",