Invalid regular expression flag s with console error

I’m working lesson : Applied Visual Design: Create Visual Balance Using the text-align PropertyPassed

I click Run the Tests button and the following is displayed
// running tests
SyntaxError: invalid regular expression flag s

I clicked Reset All Code button and same is displayed.

I’m not sure what I’m doing wrong. Please advise.

found this browser console:
Unhandled promise rejection TypeError: “e.document.__initTestFrame is not a function”

Welcome to freeCodeCamp!

this error is not related to your code, it is an incompatibility issue with an old version of the browser
pleae update your browser tot he latest version or try with a different browser fully updated

for next time please

If you have a question about a specific challenge as it relates to your written code for that challenge, just click the Ask for Help button located on the challenge. It will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.

Thank you.