I am working with an array that looks like this -
["a", "a", "b", "c", "d", "e"]
My goal is to filter this array in a way that removes only the first occurrence of each element.
Based on the example array, the expected output would be - ["a"]
Can anyone provide me with a solution to achieve this using either JavaScript or Lodash?