How to remove duplicates in a JavaScript array?

Published --