Here’s a quick blurb of the book:
 == 0? Why
"true" == true returns
false then this book is for you.
- Why certain Immediately Invoked Function Expressions don’t work?
- Why in some contexts, commas act funnily.
- Why in some cases newlines act funnily.
- Why in some cases, Google Chrome appears to support block-level scoping without ES6 syntax
- Why truthy values are not true, and why falsey values are not false
- What is
- And many more
I go through these examples, and in a tongue-in-cheek manner, suggest ways to wreak havoc on the unsuspecting. I for one do not actually condone such behaviour. However, all the examples in this book, I have actually seen in real life, and have often cursed the arsehole developers who wrote them. The actual main aim of this book is to help write better code by showing the obvious pitfalls that you may find when debugging other peoples’ codes.
I expect to finish this book by 24th January 2014. Preview copies will be out on 25th, and it will go on sale February 1.