我收到兩個整數和字符串的2維數組的過濾整數和字符串的重複子陣列,並且我想從他們刪除重複:如何從二維陣列在Javascript
原始數組= [["admin", 2, "regular"], ["customer", "regular"], ["regular", "customer"], [1], ,["admin"], [1], ["admin"]
預期的結果= [["admin", 2, "regular"], ["customer", "regular"], [1], ["admin"]]
請我怎麼能做到這一點的Javascript?
感謝@PedroCorso。效果很好。 –