Syntax Erro: Invalid regular Expression

Tell us what’s happening:
Describe your issue in detail here.
I keep getting this syntax error but I don’t know why.

SyntaxError: Invalid regular expression: invalid group specifier name

Your code so far





// This is my comment!

/* 

how are you doing 

*/

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0.2 Safari/605.1.15.

Challenge: Comment Your JavaScript Code

Link to the challenge:

Are you still getting the error?

There seems to be bug with Safari support right now. You can use Firefox, Edge, or Chrome until it is resolved.

Cool thank you, I’ll give it a try.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.