Check out a free preview of the full Coercion in JavaScript course:
The "Implicit Coercion: Booleans" Lesson is part of the full, Coercion in JavaScript course featured in this preview video. Here's what you'd learn in this lesson:

I most cases, Boolean implicit coercion occurs when performing conditional logic. For example, using a Number or String variable inside an if statement. Kyle talks about Boolean implicit coercion and warns the audience about using a double-equal operator in a boolean comparison.

Get Unlimited Access Now