---
type: video
yt_id: VVU2YVRMdUlfajQtMHdpRFN6bWFQY3RRLjVEVnFBRmhmU3NF
videoId: 5DVqAFhfSsE
title: "WTF is Truthy and Falsy !!"
date: "2022-07-11T13:00:04Z"
slug: "wtf-is-truthy-and-falsy"
image: 
  name: "wtf-is-truthy-and-falsy-!!.jpg"
  alt: "WTF is Truthy and Falsy !!"
  width: 1280
  height: 720
status: 'published'
description: "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)?"
tags: ['JavaScript', 'js']
---

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/](https://www.epidemicsound.com/track/UWK1vKftvJ/)


