medium
Find the syntax error in it
Analyze a code snippet to find the bug.
📝 Contenu du Prompt
Review the following JavaScript function. Identify the syntax error in it and provide the corrected code.