This chapter answers questions you may have and gives tips for reading this book.

    Do the following:

    • Skip all chapters and sections marked as “advanced”, and all quick references.
      Then this book should be a fairly quick read.

    2.2. Why are some chapters and sections marked with “(advanced)”?

    Several chapters and sections are marked with “(advanced)”. The idea is that you can initially skip them. That is, you can get a quick working knowledge of JavaScript by only reading the basic (non-advanced) content.

    Bonus chapters are only available in the paid versions of this book (print and ebook). They are listed in the full table of contents.

    2.4. How do I submit feedback and corrections?

    The HTML version of this book (online, or ad-free archive in paid version) has a link at the end of each chapter that enables you to give feedback.

    • The receipt email for the purchase includes a link. You’ll always be able to download the latest version of the files at that location.

    2.6. I’m occasionally seeing type annotations – how do those work?

    For example, you may see:

    Type annotations such as “” and “” are not real JavaScript. They are a notation for static typing, borrowed from the compile-to-JavaScript language TypeScript (which is mostly just JavaScript plus static typing).

    Why is this notation being used? It helps give you a quick idea of how a function works.