arrays.unique unique(array) Removes all duplicate items of an array Arguments array (Array): input array Returns (Array): an array of unique values Example const result = arrays.unique([2, 1, 2]); console.log(result); > [2, 1]