From Wiki96
Jump to: navigation, search
(Created JSH page)
 
m (Added apps category)
Line 29: Line 29:
|Shows the help message
|Shows the help message
|}
|}
[[Category:Apps]]

Revision as of 13:12, 5 April 2023

The JSH program

JSH (aka JS Shell) is a Windows 96 command line interface read–eval–print loop (REPL) program able to evaluate JavaScript inside a WRT module environment.

Specificities

Unlike inside WRT modules, it is not possible to use top-level await in the JSH REPL. JSH also features commands, it is possible to see all of them by typing .help in the shell. JSH will format all the outputs with syntax highlighting.

Commands

JSH has several commands that can be used to do specific actions. Here are them:

Command Arguments Description
.clear Clears the screen
.exit Quits the REPL shell
.load path Loads the specified file into the current shell
.help Shows the help message