# Array.unique ## Function Returns the new array after deduplication in order of first occurrence. ## Syntax ```bt array.unique() ``` ## Parameters None. ## Return value | Type | Description | | ------ | ------ | | Array | The new array after deduplication. | ## Code Example ```bt result = [1, 2, 2, 3].unique() // Output: [1,2,3] print result ``` ## Notes - The original array is not modified. - Objects and arrays are judged based on reference equality.