cleanup
This commit is contained in:
parent
abd467e14a
commit
6ca4865d93
@ -1,3 +0,0 @@
|
|||||||
const arr = ["Laurence", "Mike", "Larry", "Kim", "Joanne", "Laurence", "Mike", "Laurence", "Mike", "Laurence", "Mike"];
|
|
||||||
const arr2 = arr.filter ( (value, index, array) => {return array.indexOf (value) == index});
|
|
||||||
console.log(arr2);
|
|
||||||
Loading…
x
Reference in New Issue
Block a user