WTF is Truthy and Falsy !!

This video is part of the following playlists:

What happens when you evaluate a value in a boolean context? JavaScript will interpret any value as either true or false, because every value in JavaScript is either truthy or falsy. And on that note, what's up with ! (bang) and !! (double bang)?


  • 0:00​ Intro


Find an issue with this page? Fix it on GitHub