CHAPTER 1

image

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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.