fix unclear description and lack of usage in the editor.

closes #4059

removed added code in the seed
This commit is contained in:
natac13
2015-10-31 18:03:21 -04:00
parent d15953a293
commit ab52fb61db

View File

@ -189,8 +189,8 @@
"title":"Iterate over Arrays with .map", "title":"Iterate over Arrays with .map",
"description":[ "description":[
"The <code>map</code> method is a convenient way to iterate through arrays. Here's an example usage:", "The <code>map</code> method is a convenient way to iterate through arrays. Here's an example usage:",
"<code>var timesFour = array.map(function(val){</code>", "<code>var timesFour = oldArray.map(function(val){</code>",
"<code>&thinsp;&thinsp;return val*4;</code>", "<code>&thinsp;&thinsp;return val * 4;</code>",
"<code>});</code>", "<code>});</code>",
"", "",
"The <code>map</code> method will iterate through every element of the array, creating a new array with values that have been modified by the callback function, and return it.", "The <code>map</code> method will iterate through every element of the array, creating a new array with values that have been modified by the callback function, and return it.",