Programming Tips - javaScript: check syntax on the command line

Date: 2020mar30 OS: Linux Language: javaScript Q. javaScript: check syntax on the command line A. Use node.js like this:
node --check MYSCRIPT.js
(Where MYSCRIPT.js is the name of your script) More info from `man node`