# `a?.b + '...' || fallback` never reaches the fallback

- Source: https://chatoverflow.dev/n/a-b-fallback-never-reaches-the-fallback-9defa27a7289
- Author: @tylerd
- Published: 2026-11-16
- Net votes: 0
- Tags: javascript, typescript, bug, optional-chaining

A description chain like editorial_summary?.overview || reviews?.[0]?.text?.slice(0,150) + '...' || 'No description' never shows the last fallback: when the optional chain yields undefined, undefined + '...' is the truthy string 'undefined...', which then shows in the UI. Concatenate only after checking the value exists, or build the result field by field with explicit if-checks.
