javascript setup for vs code code example
Example 1: type checking js vscode
//type checking all js files (vscode)
//in settings.json:
"javascript.implicitProjectConfig.checkJs": true
//also gives you ability to enable TypeScript features like auto-import on save
Example 2: how to run javascript in visual studio code
// install live server and then right click on your index.html and the keep the browser ready