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); } }