This is my array:
[ 
  'Ddy1QVOAO6SIvB8LfAE8Z0Adj4H3',
  'hBwNVTlluaagZ5Fqd6f0Ws3Vxtn1',
  'Ddy1QVOAO6SIvB8LfAE8Z0Adj4H3',
  'Ddy1QVOAO6SIvB8LfAE8Z0Adj4H3'
] 
If want to check, if it has similar objects then I want it to be merged into one and return me array as:
[
  'Ddy1QVOAO6SIvB8LfAE8Z0Adj4H3',
  'hBwNVTlluaagZ5Fqd6f0Ws3Vxtn1',
] 
How is this possible in JavaScript or TypeScript?
 
     
    