$ ./guess_the_languageProblem Solving — fill the blank
Problem Solving — fill the blank · hard · #212

Fill in the blank

// a value that may be absent
let name: string | ____ = undefined;

Answer: undefined (also accepted: undefined, undefined())

The union must include undefined for the assignment to type-check.
Play Problem Solving ▸