Errata

JavaScript Pocket Reference

Errata for JavaScript Pocket Reference

Submit your own errata for this product.

The errata list is a list of errors and their corrections that were found after the product was released.

The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.

Color Key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted by Date submitted
Printed Page viii
3rd line down.

API stands for Application Program Interface.

N Macaulife  Apr 07, 2015 
PDF Page 11
New Zealand

It seems that .toLowerCase() is missing from the list of methods you can invoke on strings. toUpperCase() is mentioned at the bottom of page 11 and page 12 continues to explain that strings are immutable.

Before the list it does say "as always, see the reference section for complete details", but the book itself is supposed to be a reference section.

How many more string methods are missing from this book?

Murray Nuttall  Sep 16, 2013 
Printed Page 94
Second example in second paragraph

The comment says "An array of five numbers", but the array has only four elements.

Christian Kandeler  Jul 25, 2012 
Printed Page 142
1 & 2nd paragraph

Top of page shloud be:

Constructor object
As we've noted, the constructor function (an object) defines a name for a JavaScript Class. Properties you add to this constructor object serve like INSTANCE feilds and INSTANCE methodes.

Prototype object
The properties of this object are inserties boy all instances of the class, and properties whose valies are functions behalve like CLASS methodes of the class.

Mark Libbrecht  Jul 31, 2017 
PDF Page 186
last paragraph

The world "element" should be added after the word HTML in the following sentence:

The class attribute of an HTML is a space-separated list of zero
or more identifiers.

Ghasem Kiani  Nov 15, 2013 
PDF Page 190
at the end of the first paragraph

The phrase "instead of the <body> body" should be "instead of the <body> element".

Ghasem Kiani  Nov 16, 2013