Getting error: SyntaxError: invalid regular expression flag s

Tell us what’s happening:
Getting error: SyntaxError: invalid regular expression flag s.

I am facing this error on both chrome and firefox browser.

Your code so far


const HIGH_TEMPERATURES = {
yesterday: 75,
today: 77,
tomorrow: 80
};

const  { today, tomorrow } = HIGH_TEMPERATURES;

Your browser information:

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

Challenge: Use Destructuring Assignment to Extract Values from Objects

Link to the challenge:

Hey @bharatkumar1,

Your code works fine for me, try clearing the browser’s cache and then try again. If the problem still persists, then try using incognito mode to try it again because this might be caused by extensions that have access to FCC that can cause the test to fail. Make sure there is not any extensions that can cause it to fail.

this error is not related to your code - we have been able to pinpoint it to a browser issue, please update your browser or try using a different fully updated browser