Sum All Primes do not pass (solved)

Hi All
I’m getting this error:
TypeError: unknown: undefined is not an object (evaluating 'o[a]') but code is passing in IDE even in dev tools. I can’t figure out what is going on. Can someone explain to me why? Thanks

I’ve figure out that it has to do something with syntax. Adding curly braces helped and code is passing.

I had a similar issue with curly braces. Your post put me on the right track, thanks! :+1:

Hi, can i ask you :face_with_monocle:, what is it the green boxes that you have in your editor?
It is a pluging, Isn’t it?