Remove duplicate objects from an array using javascript

后端 未结 9 1909
野性不改
野性不改 2020-12-02 21:21

I am trying to figure out an efficient way to remove objects that are duplicates from an array and looking for the most efficient answer. I looked around the internet everyt

9条回答
  •  难免孤独
    2020-12-02 21:34

    If you are using underscore js, it is easy to remove duplicate object. http://underscorejs.org/#uniq

提交回复
热议问题