这段严格模式下的 TypeScript 程序会输出什么?
TypeScript
type Account = { id: number; label: string | null };
const accounts: Account[] = [{ id: 1, label: null }];
const account = accounts.find((item) => item.id === 1);
const label = account?.label ?? `account-${account?.id ?? "missing"}`;
console.log(label);