Array.Array.Unique - This function return you the unique element with no duplicate element.
Finally the document. write print the array after removing duplicate element.
Output of the program
Recommend the tutorial