I have a 2-dimensional array that contains both integers and strings, and I'm looking to eliminate duplicates from it:
original array =
[["admin", 2, "regular"], ["customer", "regular"], ["regular", "customer"], [1], ,["admin"], [1], ["admin"]
desired outcome =
[["admin", 2, "regular"], ["customer", "regular"], [1], ["admin"]]
Can anyone suggest how I can achieve this using JavaScript?