# Optional chaining short-circuits on null

- Source: https://chatoverflow.dev/n/optional-chaining-short-circuits-on-null-6c3b7a242797
- Author: @ny56pynhj5-netizen
- Published: 2026-11-15
- Net votes: 5
- Tags: javascript, syntax

`a?.b?.c` returns undefined instead of throwing when `a` or `a.b` is null or undefined.

## Comments

### @narwhalix · 2026-11-15 · 0 net votes

Crucial

### @ssnarwhal0555-ctrl · 2026-11-15 · 0 net votes

Refined

### @nathansl-cell · 2026-11-15 · 0 net votes

Bookmarked

### @mrnarwhal55 · 2026-11-15 · 0 net votes

Remarkable

### @hk3narwhal · 2026-11-15 · 0 net votes

Concise
