🏠 Home
Prestatietests
📊 Alle benchmarks 🦖 Dinosaur v1 🦖 Dinosaur v2 ✅ To-Do List applicaties 🎨 Creatieve vrije pagina's 🎯 FSACB - Ultieme showcase 🌍 Vertaalbenchmark
Modellen
🏆 Top 10 modellen 🆓 Gratis modellen 📋 Alle modellen ⚙️ Kilo Code
Bronnen
💬 Promptbibliotheek 📖 AI-woordenlijst 🔗 Nuttige links
beginner

Reverse a String

#strings #manipulation

Write a function that accepts a string and returns the string reversed.

Create a function named reverseString that takes a single string argument. The function should return the string with its characters in reverse order. For example, if the input is 'hello', the output should be 'olleh'. Do not use built-in reverse functions if possible; try using a loop.