How to get unique values in an array - javascript

Published --