You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
354 B
Plaintext
17 lines
354 B
Plaintext
// JavaScript is available in most web browsers
|
|
// For standalong JavaScript usage
|
|
// install Node.js or SpiderMonkey
|
|
|
|
// Works with web browsers
|
|
document.write("Hello world!");
|
|
|
|
// Works with NJS (0.2.5), Rhino, SpiderMonkey
|
|
print('Hello world!');
|
|
|
|
// Works with JScript
|
|
WScript.Echo("Hello world!");
|
|
|
|
// Works with Node.js
|
|
console.log("Hello world!")
|
|
|