0

So I am new to Javascript and trying to learn on VS Code. I can't seem to find a functionality to execute only a selected block of code. Every time I click F5 or (or Ctrl + F5), it runs the entire file.

Is it possible or do I need to install something extra to do this?

Tristan Tran
  • 1,351
  • 1
  • 10
  • 36
  • 1
    I think you should use [Quokka.js](https://marketplace.visualstudio.com/items?itemName=WallabyJs.quokka-vscode) – Pranav Oct 19 '20 at 09:29
  • 1
    Or take a look at this answer: https://stackoverflow.com/questions/31778413/run-javascript-in-visual-studio-code – A_A Oct 19 '20 at 09:33

0 Answers0