Chapter 12 - Listing 12.2 - Electron

Using the remote library is dated.

let remote = require('remote')


Instead this is what is working now:

let { remote } = require('electron');
Subject - specifying tag content - Pug

Suggested way is not working for current Pug version.

If the HTML tag, such as the style and script tags, accepts only text (meaning it
doesn’t allow nested HTML elements), then the | characters can be left out entirely, as
the following example shows:
style
h1 {
font-size: 6em;
color: #9DFF0C;
}


Current working way - using dot at the end of the tag:

style.
h1 {
font-size: 6em;
color: #9DFF0C;
}


https://stackoverflow.com/questions/21765107/how-to-use-the-style-tag-with-jade-templates
Incorrect code. Missing `(err, result)` from anonymous function declaration.
Page 206 - Listein 8.3.

`, () => {
if (err) throw err;
const id = result.rows[0].id;
console.log('Inserted row with id %s', id);
});
The symbol paragraph is repeating.

Finally, we will look at a completely new primitive data type, Symbols. Symbols are
always unique and can be used in places where preventing collisions is of the utmost
importance. The most common use for Symbols, which we will soon learn about, is for
defining meta behaviors on objects.

Finally, we will look at a completely new primitive data type, Symbols. Symbols are
commonly used to define what I call "meta behavior(s)—[hooks to alter or define the
behavior of existing functionality]. They can also be used to avoid the sorts of naming
collisions you might run into with strings.