JS, как найти не одноразовые значения в массиве

let dublicates = arr.filter((e, i, a) => a.indexOf(e) !== i)
MrStonkus