
To get started, you’ll need to open up your preferred console (either the Node REPL, browser console, or ES6 Console on the web). It will be a single statement that logs the phrase “Hello, world!” to the console.

We’re going to stick to this tradition and write this type of program in JavaScript.

This is a simple program that outputs the phrase “Hello world!” to announce your arrival to the world of programming. It is a tradition when learning programming languages to start with a “Hello, world!” program. SitePoint Premium members get access with their membership, or you can buy a copy in stores worldwide. It’s the ultimate beginner’s guide to JavaScript. The following is a short extract from our new book, JavaScript: Novice to Ninja, 2nd Edition, written by Darren Jones.
