unique function unique(Object arg) the unique set of the array Parameters Object arg - the string array to find its unique set. Return type Object