1 const uniqueArray = [...new Set([1, 2, 2, 3, 3, 3])] // [ 1, 2, 3 ]

Linkerin