

I recommend to avoid it – why is explained in §13.4.3 “Recommendation: always use strict equality”. JavaScript also has a = comparison operator. equal( 'I see ' + 3 + ' monkeys', 'I see 3 monkeys') // Comparison operators assert. equal( 10n / 4n, 2n) // Operators for strings assert. equal( 10 / 4, 2.5) // Operators for bigints assert. equal( true || false, true) // Or // Operators for numbers assert. equal( true & false, false) // And assert. They will all be explained in more detail later in this book. Don’t worry if some things don’t make sense, yet. This is a very first look at JavaScript’s syntax.


