mujs/examples/hello.js

3 lines
200 B
JavaScript

print("Hello, TempleOS, from MuJS!")
print("Current date and time is: " + JSON.stringify(new Date()))
print("Type mujs; with no arguments for a REPL, or mujs(\"path/to/file.js\"); to run a program.")