From Wiki96
Revision as of 18:37, 16 May 2023 by Utf (talk | contribs) (Reverted edits by 94.233.241.205 (talk) to last revision by Kelbaz)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
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