🏠 Accueil
Benchmarks
📊 Tous les Benchmarks 🦖 Dinosaure v1 🦖 Dinosaure v2 ✅ To-Do List Apps 🎨 Pages Libres 🎯 FSACB - Showcase 🌍 Traduction
Modèles
🏆 Top 10 Modèles 🆓 Modèles Gratuits 📋 Tous les Modèles ⚙️ Modes Kilo Code
Ressources
💬 Prompts IA 📖 Glossaire IA 🔗 Liens Utiles
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.