Frage im Vorstellungsgespräch bei Brex

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