Chapter 22 - JavaScript Oddities

This content is not available in the sample book. The book can be purchased on Leanpub at http://leanpub.com/learnjavascriptfrombeginnertomaster.

JavaScript Oddities

This content is not available in the sample book. The book can be purchased on Leanpub at http://leanpub.com/learnjavascriptfrombeginnertomaster.

Equal comparison

This content is not available in the sample book. The book can be purchased on Leanpub at http://leanpub.com/learnjavascriptfrombeginnertomaster.

[ ] == ![ ]

This content is not available in the sample book. The book can be purchased on Leanpub at http://leanpub.com/learnjavascriptfrombeginnertomaster.

NaN is not equal to NaN

This content is not available in the sample book. The book can be purchased on Leanpub at http://leanpub.com/learnjavascriptfrombeginnertomaster.

baNaNa

This content is not available in the sample book. The book can be purchased on Leanpub at http://leanpub.com/learnjavascriptfrombeginnertomaster.

Minimal value is greater than zero

This content is not available in the sample book. The book can be purchased on Leanpub at http://leanpub.com/learnjavascriptfrombeginnertomaster.

Adding arrays

This content is not available in the sample book. The book can be purchased on Leanpub at http://leanpub.com/learnjavascriptfrombeginnertomaster.

Trailing commas in array

This content is not available in the sample book. The book can be purchased on Leanpub at http://leanpub.com/learnjavascriptfrombeginnertomaster.

undefined and Number

This content is not available in the sample book. The book can be purchased on Leanpub at http://leanpub.com/learnjavascriptfrombeginnertomaster.

null is an object

This content is not available in the sample book. The book can be purchased on Leanpub at http://leanpub.com/learnjavascriptfrombeginnertomaster.

Precision of 0.1 + 0.2

This content is not available in the sample book. The book can be purchased on Leanpub at http://leanpub.com/learnjavascriptfrombeginnertomaster.

Comparison of three numbers

This content is not available in the sample book. The book can be purchased on Leanpub at http://leanpub.com/learnjavascriptfrombeginnertomaster.

Object as a key of object’s property

This content is not available in the sample book. The book can be purchased on Leanpub at http://leanpub.com/learnjavascriptfrombeginnertomaster.

try..catch finally

This content is not available in the sample book. The book can be purchased on Leanpub at http://leanpub.com/learnjavascriptfrombeginnertomaster.

Multiple inheritance

This content is not available in the sample book. The book can be purchased on Leanpub at http://leanpub.com/learnjavascriptfrombeginnertomaster.

A class of class

This content is not available in the sample book. The book can be purchased on Leanpub at http://leanpub.com/learnjavascriptfrombeginnertomaster.

Tricky arrow functions

This content is not available in the sample book. The book can be purchased on Leanpub at http://leanpub.com/learnjavascriptfrombeginnertomaster.

Arrow functions cannot be a constructor

This content is not available in the sample book. The book can be purchased on Leanpub at http://leanpub.com/learnjavascriptfrombeginnertomaster.

arguments in arrow functions

This content is not available in the sample book. The book can be purchased on Leanpub at http://leanpub.com/learnjavascriptfrombeginnertomaster.

Tricky return

This content is not available in the sample book. The book can be purchased on Leanpub at http://leanpub.com/learnjavascriptfrombeginnertomaster.

Math.max() less than Math.min()

This content is not available in the sample book. The book can be purchased on Leanpub at http://leanpub.com/learnjavascriptfrombeginnertomaster.

Comparing null to 0

This content is not available in the sample book. The book can be purchased on Leanpub at http://leanpub.com/learnjavascriptfrombeginnertomaster.

Default behavior Array.prototype.sort()

This content is not available in the sample book. The book can be purchased on Leanpub at http://leanpub.com/learnjavascriptfrombeginnertomaster.

Array and Object addition

This content is not available in the sample book. The book can be purchased on Leanpub at http://leanpub.com/learnjavascriptfrombeginnertomaster.

Chapter 22 - Quiz

This content is not available in the sample book. The book can be purchased on Leanpub at http://leanpub.com/learnjavascriptfrombeginnertomaster.

Answers

This content is not available in the sample book. The book can be purchased on Leanpub at http://leanpub.com/learnjavascriptfrombeginnertomaster.