The compiler can be started at the command line by typing the name of its executable (jsc.exe) on the command line. For more information, see
Sample Command Lines
-
Compiles File.js producing File.exe:
В Copy Code jsc File.js
-
Compiles File.js producing File.dll:
В Copy Code jsc /target:library File.js
-
Compiles File.js and creates My.exe:
В Copy Code jsc /out:My.exe File.js
-
Compile
test.js
and create a .dll:В Copy Code jsc /target:library test.js