Fix typo 'array or numbers' to 'array of numbers'

This commit is contained in:
Daniel Robinson
2015-10-08 19:18:53 -04:00
parent 920d9ba403
commit 1d23b28da0

View File

@ -206,7 +206,7 @@
"title":"Condense arrays with .reduce",
"difficulty":0,
"description":[
"Reduce can be useful for condensing an array or numbers into one value.",
"Reduce can be useful for condensing an array of numbers into one value.",
"<code>var singleVal = array.reduce(function(previousVal, currentVal){</code>",
"<code>&thinsp;&thinsp;return previousVal+currentVal;</code>",
"<code>});</code>"