The method of Array deduplication in JavaScript
This article mainly introduces the JavaScript to achieve the method of array deduplication, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let the editor with you to understand.
1. Array deduplication / * ╚ description: ╚ name: V1.0.5 * * * * / var obj = ['Kylin' 'she', 'CC','DD',' Kylin', 'she','11 million dint 11] / / define a new array var s = [] / / traversing the array for (var item0posii)