What to do if errors aren’t highlighted in VS Code? (JavaScript)

This error isn’t highlighted
Here is an error, but it isn’t highlighted. Others errors isn’t highlighted too. I mean, nothing is highlighted, expect those errors when some symbols are missed. What should i do?

I tried to use ‘use strict’; but it didn’t help.