WTF is Truthy and Falsy !!

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)?

Chapters:

  • 0:00​ Intro

🔗Music https://www.epidemicsound.com/track/UWK1vKftvJ/

Find an issue with this page? Fix it on GitHub