From 42d9eb156325d9b1004aa39b5a3051151fdaf1a4 Mon Sep 17 00:00:00 2001 From: Mark Date: Sun, 17 Sep 2017 19:47:26 +0300 Subject: [PATCH] Update article.md Typo - miss closing parenthesis in add.map() example --- 1-js/05-data-types/05-array-methods/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-js/05-data-types/05-array-methods/article.md b/1-js/05-data-types/05-array-methods/article.md index 26163457..b5a4075b 100644 --- a/1-js/05-data-types/05-array-methods/article.md +++ b/1-js/05-data-types/05-array-methods/article.md @@ -316,7 +316,7 @@ The syntax is: ```js let result = arr.map(function(item, index, array) { // returns the new value instead of item -} +}) ``` It calls the function for each element of the array and returns the array of results.