Skip to content

Commit 3f98c72

Browse files
authored
Typo - expected ')'
Typo - expected ')' for 'if' construction condition
1 parent a8455f9 commit 3f98c72

File tree

1 file changed

+1
-1
lines changed
  • 1-js/05-data-types/05-array-methods/11-array-unique

1 file changed

+1
-1
lines changed

1-js/05-data-types/05-array-methods/11-array-unique/solution.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ function unique(arr) {
77
let result = [];
88

99
for (let str of arr) {
10-
if (!result.includes(str) {
10+
if (!result.includes(str)) {
1111
result.push(str);
1212
}
1313
}

0 commit comments

Comments
 (0)