Javascript error in

when I try and run javascript code in online I am always getting the same error regardless of what ever I type in the editor.Please see attached screenshot.

it may be something from one of the other files

if you want to avoid interference create a repl for just JavaScript

The link to my page is

It is no longer repeating the previous error message but it is not outputting correct answer .And now the page just keeps refreshing!

It is not crashing in chrome but not displaying the correct output.please see attached image

Sometimes with - it can have issues. Did you try this locally in VS code and run it from the terminal?

When I use REPL for react example it doesn’t like some packages etc so try locally that is what I would do or try codepen :slight_smile: