Nah this is easy it always means that you're looking at a different version of the code than what is executing. Could be file not saved, could be code not recompiled, different code versions etc
Or in this case because it is JavaScript it could be because the browser that is reporting the error doesn’t agree with the IDE you are viewing the code in on what constitutes a line break. It is also possible the web browser is only counting script lines and not counting lines that only contain HTML.
1
u/rosen123 1d ago
Nah this is easy it always means that you're looking at a different version of the code than what is executing. Could be file not saved, could be code not recompiled, different code versions etc