I would not suggest this book. While it does begin with simple, concise examples, it leaves out many important details.
For example:
- The first variable using `const` is called ”immutable”, which is misleading, since only the _assignment_ is immutable. Later on the same page, a const object property is assigned to without any clarification as to why it works.
- Only single- and double-quoted strings are introduced at first, even though template strings are arguably the cleanest for building strings.
- Arrow functions are introduced as just another syntax - neither implicit `this` binding nor implicit return of last block statement are mentioned.
Good points. What would you suggest instead?
[1]https://github.com/getify/You-Dont-Know-JS [2]https://eloquentjavascript.net/