const arr = [1,1,3];
const a2 = [...new Set(arr)]; // [1,3]
↧
const arr = [1,1,3];
const a2 = [...new Set(arr)]; // [1,3]