Type in a command, or "ls dictionary" to search all commands for "dictionary", etc.


(This command has been awarded a Yubnub Golden Egg)

script document.write(%s) [no url encoding]
Use javascript as a calculator.

Example: jscalc 5+6*7
Output: 47

Example: jscalc 5/6
Output: 0.8333333333333334

Example: jscalc Math.sqrt(25)
Output: 5

The command uses document.write(your argument), so it can also output other things for you.

Example: jscalc "Put strings in quotes"
Output: Put strings in quotes

Example: jscalc "5+5="+(5+5)
Output: 5+5=10
1281 uses - Created 2006-03-09 19:49:41 - Last used 2022-02-03 21:22:33
Is this command broken? Tell Jon if you know how to fix it.