commit
d9372f9758
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ function unique(arr) {
|
||||||
let result = [];
|
let result = [];
|
||||||
|
|
||||||
for (let str of arr) {
|
for (let str of arr) {
|
||||||
if (!result.includes(str) {
|
if (!result.includes(str)) {
|
||||||
result.push(str);
|
result.push(str);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue