![]() |
Type in a command, or "ls dictionary" to search all commands for "dictionary", etc.
|
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