Course contentsShow
JavaScript
Lesson 198 of 2,7236. Booleans and ConditionalsPro lesson

Double Negation (!!) to Coerce to Boolean

Using !! as a shorthand to explicitly convert any value to its Boolean equivalent.

This lesson is for subscribers

You've completed the free preview. Subscribe to unlock every lesson in every course.