How to find duplicates in an Array with JavaScript

How to find duplicates in an Array with JavaScript