This topic describes some of the advanced JavaScript features supported by Visual Studio Code.
    Using the TypeScript language service, VS Code can provide smart completions (IntelliSense) as well as type checking for JavaScript.

    Here is the outline.

    • IntelliSense
    • JavaScript projects (jsconfig.json)
    • Type checking JavaScript#
    • Using tasks
    • Disable JavaScript support

    https://code.visualstudio.com/docs/nodejs/working-with-javascript