Hard
JavaScript Debug Assistant
Identify potential bugs in a code snippet.
📝 Contenu du Prompt
Analyze the following JavaScript code snippet for potential syntax errors or logical bugs. Explain what is wrong and provide the corrected code: const function addNumbers(a, b) { return a + b; } console.log(addNumbers(5));