Javascript

Hi, can anyone tell me if there is a good extension or tool to detect JS syntax errors on chrome or the Visual studio code editor? thanks