TypeScript concepts

TypeScript · Modern

TypeScript Modern puzzles

1 TypeScript puzzle on modern. Read the snippet, guess the output, then reveal the answer and why TypeScript behaves that way.