if two items in array are equal create new array with those items code example
Example: array in js
var array_name = [item1, item2, ...];
//Used to store more than 1 items
var array_name = [item1, item2, ...];
//Used to store more than 1 items