There was an error while loading. Please reload this page.
2 parents bda224f + 3f98c72 commit d9372f9Copy full SHA for d9372f9
1 file changed
1-js/05-data-types/05-array-methods/11-array-unique/solution.md
@@ -7,7 +7,7 @@ function unique(arr) {
7
let result = [];
8
9
for (let str of arr) {
10
- if (!result.includes(str) {
+ if (!result.includes(str)) {
11
result.push(str);
12
}
13
0 commit comments