6 lines
78 B
JavaScript
6 lines
78 B
JavaScript
function uniq(arr) {
|
|
return Array.from(new Set(arr));
|
|
}
|
|
|
|
export { uniq };
|