Merge pull request #4088 from natac13/fix/unclear-dexcription-iterating-map-#4059

fix unclear description and lack of usage in the editor.
This commit is contained in:
Berkeley Martinez
2015-11-01 07:45:01 -08:00

View File

@ -189,7 +189,7 @@
"title":"Iterate over Arrays with .map",
"description":[
"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>});</code>",
"",