Click here to go to the original "J" tweet
- Minification improvements by @19wintersp
- Added a return value of 'true'
Filesize: 520 bytes Character count: 519
"J" works with new lines, Which means no minification is possible. The syntax on each line must be [command] [args], Which it could range anywhere from importing another script, or just running a clear command. Plus, "J" only works with the browser!
- Functions
- Custom stdin/stdout/stdclear
import <url>: Imports another "J" script with the same function and memory variables. Note that changing variables are not supported yet.log <text>: Well, Logs to console.clear: Clears the console.repeat [number] <command>: Repeats a certain command a certain amount of times.eval_i <url>: Fetches a javascript file and evaluates it.eval <javascript>: Runs javascript directly from "J" code. (does not support line breaks)