I have this object in Javascript.
[{"col1": 1, "col2": 25},{"col1": 1, "col2": 25},{"col1": 3, "col2": 30}]
How can I drop duplicate records in order to get this result?
[{"col1": 1, "col2": 25},{"col1": 3, "col2": 30}]
I have tried next logic, but does not work:
[...new Set(myData)]