Advanced
Find Logic Error
Analyze a code snippet to find a logical mistake.
📝 Prompt İçeriği
Analyze the following JavaScript code snippet intended to reverse an array. Identify why it is not working as expected and provide the corrected code: [Insert snippet here]