Motive interview question

A question to filter out duplicates from an array using JS.