Skip to content

Commit f2f5f60

Browse files
fix dedupe indentation and confirm empty array validation
1 parent b473ef0 commit f2f5f60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sprint-1/implement/dedupe.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ function dedupe(list) {
88
{
99
if(!result.includes(item))
1010
{
11-
result.push(item)
11+
result.push(item);
1212
}
1313
}
1414
return result;

0 commit comments

Comments
 (0)