From 3f98c72385a48c6e80aca9682792e39c7e74c481 Mon Sep 17 00:00:00 2001 From: Mark Date: Mon, 18 Sep 2017 23:43:06 +0300 Subject: [PATCH] Typo - expected ')' Typo - expected ')' for 'if' construction condition --- 1-js/05-data-types/05-array-methods/11-array-unique/solution.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-js/05-data-types/05-array-methods/11-array-unique/solution.md b/1-js/05-data-types/05-array-methods/11-array-unique/solution.md index 5b565d42..8f7fd9af 100644 --- a/1-js/05-data-types/05-array-methods/11-array-unique/solution.md +++ b/1-js/05-data-types/05-array-methods/11-array-unique/solution.md @@ -7,7 +7,7 @@ function unique(arr) { let result = []; for (let str of arr) { - if (!result.includes(str) { + if (!result.includes(str)) { result.push(str); } }