I have data like this:
var data1 = ["RFCC","HCC","RFCC"];
var data2 = ["RFCC"];
I want to remove all duplicates from array above, the output should be like this:
var result = ["RFCC","HCC"];
If possible, how I could do the following task? Maybe someone could help me? Thanks in advance.