A loop like this will run forever:
var ajaxRequest = new XMLHttpRequest;
ajaxRequest.open('GET', url);
ajaxRequest.send(null);
while (ajaxRequest.readyState === XMLHttpRequest.UNSENT) {
// readyState can't change until the loop returns
};
Actually it will never run. Shouldn't that be
while (ajaxRequest.readyState === XMLHttpRequest.OPENED) {
// readyState can't change until the loop returns
};--Alex

A loop like this will run forever:
var ajaxRequest = new XMLHttpRequest;
ajaxRequest.open('GET', url);
ajaxRequest.send(null);
while (ajaxRequest....more...

Reported in:
P2.0
(14-Oct-15)

#78995PDF page: 14

whomever should be whoever around the end of the page--rob

Reported in:
P1.0
(07-Jul-13)

#52139PDF page: 17

In the checkPassword function, the query variable is defined as queryStr but used as selectUser.--William Bowers

Reported in:
P1.0
(07-Jun-13)

#51884Paper page: 23

This is from the LeanPub edition, so the error possibly doesn't exist (presuming it's an error).