Frage im Vorstellungsgespräch bei eDreams ODIGEO

1. Re-implement the JavaScript native function String.indexOf() using the String.charAt() function and no other built-in functions.