Hello, JavaScript
JavaScript runs in every browser and, thanks to Node.js, on servers and in this playground too.
console.log("Hello, World!");
console.logprints a value followed by a new line.- Statements usually end with a semicolon
;(optional, but a good habit). // this is a commentand/* so is this */.
Try it
Print these two lines:
Hello, JavaScript!
Running on Node.js