Frage im Vorstellungsgespräch bei Publicis Sapient

Write a program in JavaScript to find the first non-repeating character in any string.

Antwort im Vorstellungsgespräch

Anonym

16. Dez. 2020

let arr = ["a", "b", "e", "c", "a", "c"]; for (let i = 0; i ", arr[i]); return; } }