# Tricky Values in JavaScript

Tricky Values in JavaScript: Equality and Truthy Values, Missing Values: null, undefined, ?. and ??.

Updated: November 15, 2026

1. [Equality and Truthy Values](https://www.ask-codey.com/lessons/javascript-tricky-values-equality-and-truthiness) (Apprentice): JavaScript has a loose == that converts types before comparing and a strict === that doesn't, and it treats every value as truthy or falsy in a condition, so you learn which to use and where 0 and empty text trip people up.
2. [Missing Values: null, undefined, ?. and ??](https://www.ask-codey.com/lessons/javascript-tricky-values-null-and-undefined) (Apprentice): Real data has holes, so learn the difference between undefined and null, read a property that might be missing with ?., and give a missing value a default with ?? instead of ||.

Source: https://www.ask-codey.com/courses/javascript-in-depth/topics/javascript-tricky-values
