1. JavaScript Basics

A lot of people learn JavaScript by copying and pasting code they find on the Web without really understanding it. In this book, you’ll start from the very beginning.

A language is a system for organizing and transmitting meaning through symbols. A computer language uses symbols you can type with any average keyboard to organize and transmit instructions to hardware and software.

The JavaScript language doesn’t have a large number of symbols. Instead, it’s very flexible in how you can combine those symbols. That flexibility allows you to produce expressive and powerful code, but it also creates the potential for ambiguity and confusion. Symbols in the language combine to create syntax, which acts as the structure or grammar ...

Get The JavaScript PocketGuide 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.