Syntax error in regular expression

Tell us what’s happening:
on the start and after from compile is "
Syntax error in regular expression"
any answer?

Your code so far

function largestOfFour(arr) {
return arr;

largestOfFour([[4, 5, 1, 3], [13, 27, 18, 26], [32, 35, 37, 39], [1000, 1001, 857, 1]]);

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36 Edge/18.18363.

Challenge: Return Largest Numbers in Arrays

Link to the challenge:

Hey @wuoelte!

Welcome to the forum!

I am not entirely sure what your issue is because you haven’t written any code.

You don’t have to worry about compiling your code with javascript.

Can you provide some more details as to what is happening?

problem is resolve
i swich on InPrivate in my Edge

1 Like

prblem was in console
console say me “syntax error in regular expresion” always when i wrote something
console show now:
// running tests

1 Like

the error doesn’t seem to be related to your code. Please updatw your browser to latest version.

1 Like

Yes. Thank you.


  • Your test output will go here.