Running JavaScript files in Visual Studio Code is straightforward. First, install and configure VS Code, then create and edit JavaScript files, and finally, use the built-in terminal to run the node command. This way, you can easily write and run JavaScript code in VS Code.