🏠 ホーム
ベンチマーク
📊 すべてのベンチマーク 🦖 恐竜 v1 🦖 恐竜 v2 ✅ To-Doリストアプリ 🎨 クリエイティブフリーページ 🎯 FSACB - アルティメットショーケース 🌍 翻訳ベンチマーク
モデル
🏆 トップ10モデル 🆓 無料モデル 📋 すべてのモデル ⚙️ 🛠️ Kilo Code モード
リソース
💬 💬 プロンプトライブラリ 📖 📖 AI用語集 🔗 🔗 有用なリンク
Advanced

Code Debugging Assistant

#debugging #code #troubleshooting

Identify potential bugs or logic errors in a provided code snippet.

Here is a JavaScript function intended to reverse a string. It is not working as expected. Can you identify the bug and provide the corrected code? function reverseString(str) { return str.split('').reverse().join(''); } Wait, the input is null and it crashes. How do I fix this edge case?