JavaScript Basics

In this chapter we are going to take a different approach from what you’ll find in the first chapter of most programming language references. Most books would dive right into the syntax and other details of the language, but we are not going to do that here. JavaScript is a surprisingly difficult language to learn, and a relatively easy one to dislike, so we first want to explore why some people struggle with it, and then we’ll provide a different, more intuitive approach to mastering the language.

We will begin by examining the challenges of learning and working with JavaScript. We’ll cover a bit of background by ...

Get JavaScript Programmer's Reference now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.