Falsy values are `false`, `0`, `-0`, `0n`, `""`, `null`, `undefined`, and `NaN`. Nullish coalescing (`??`) only falls back on `null` or `undefined`.
js const gas = input ?? 21000; // preserves input if 0 const rpc = cfg?.network?.rpc; // safe optional chain