Question d’entretien chez Salesforce

Find the first duplicate number in an array. If no duplicates exist, return -1.