Brex Interview Question

How can you have an array without duplicate values in JavaScript?