JavaScript
How to run your Javascript test code in Chrome
seoca
2020. 7. 28. 12:17
Option 1.
If you already have installed Node.js, simply type node 'your JS file' to run your code.
JavaScript engine 이 node.js 에 있어서 Browser 와 index.html 없이도 excute될 수 있다.
Option 2.
1. enable Live Edit
2. Set Chrome as a default browser
3. Click the debug button to open the Chrome browser.
4. In Chrome, press alt + cmd + i to launch developer tools to check the result.