What does this strict TypeScript program print?

from Strict mode
TypeScript 6 beginner 2 min

What does this strict TypeScript program print?

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);
Open in playground
Report an error