From 8843c499e7646b68e454a156c395e3a9f148a2e1 Mon Sep 17 00:00:00 2001 From: terminalforlife Date: Tue, 10 Mar 2020 17:44:45 +0000 Subject: [PATCH] Tweak `js` a little, mainly for 80 columns --- sheets/js | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/sheets/js b/sheets/js index 797b502..e7eda1b 100644 --- a/sheets/js +++ b/sheets/js @@ -1,18 +1,19 @@ # js # -# JavaScript often abbreviated as "JS", is a high-level, dynamic, untyped, interpreted run-time language. -# It has been standardized in the ECMAScript language specification. +# JavaScript often abbreviated as "JS", is a high-level, dynamic, untyped, - +# interpreted run-time language. It has been standardized in the ECMAScript +# language specification. # -# js is a JavaScript shell, part of SpiderMonkey -# to install spidermonkey: (in Debian) apt-get install libmozjs-24-bin +# `js` is a JavaScript shell, part of SpiderMonkey. To install spidermonkey in +# Debian systems, execute: apt-get install libmozjs-24-bin -# Run the shell in interactive mode +# Launch an interactive JavaScript session. js -# Run the JavaScript code in the file hello.js +# Run the JavaScript code in the file `hello.js`. js hello.js -# Run hello.js then drop into the interactive shell +# Run the `hello.js` file, then drop into the interactive shell. js -f hello.js -i # See also: