Question d’entretien chez Provar

Make a function in JS that will return a second non-repeating character from a string, you can't use any in-built function.

Réponse à la question d'entretien

Utilisateur anonyme

10 juil. 2024

Create 1 object that will iterate over a string, and track all the occurrences of the alphabet. they iterate over that object and return the second item which has a value of 1.