removeAllDuplicates
Removes all duplicates from an array.
Usage
import { removeAllDuplicates } from "lulinjs";
const result = removeAllDuplicates([1,3,5,3,3,8,9])
// Output: [1, 3, 5, 8, 9]
Live Editor
Result
Loading...
Removes all duplicates from an array.
import { removeAllDuplicates } from "lulinjs";
const result = removeAllDuplicates([1,3,5,3,3,8,9])
// Output: [1, 3, 5, 8, 9]