Bug :SyntaxError: invalid regular expression flag s

Tell us what’s happening:
I got failure “SyntaxError: invalid regular expression flag s”

Your code so far

let a = 5;
let b = 1;
a++;
// Only change code below this line

console.log(a);
let sumAB = a + b;
console.log(sumAB);

Your browser information:

User Agent is: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:76.0) Gecko/20100101 Firefox/76.0.

Challenge: Use the JavaScript Console to Check the Value of a Variable

Link to the challenge:

Hi @Mohamed0uragini!

The code you have shared works on my end. Please ensure that you have disabled any extensions that interface with the freeCodeCamp website (such as Dark Mode and Ad Blocker), and set your browser zoom level to 100%. Both of these factors can cause tests to fail erroneously. It might also be your browser so make sure that is up to date.

1 Like

Hi @jwilkins.oboe !

Thanks for feedback. I still not fix this issue :frowning:

have you tried all the suggestions?