This would seem a weird answer indeed if you don't have context -- which is that VSCode (Microsoft) is developed with native handling of Typescript (Microsoft) -- so is somewhat of the standard in that regard.
The answer is tongue-in-cheek. Basically, don't write JavaScript, write TypeScript and transpile.
The assumption is more weird than the answer.
Anyway, I use IntelliJ Ultimate.
VsCode only for small scripts