Handle Optional Profile Fields
Handle optional TypeScript profile fields with nullish fallbacks so complete and partial profiles produce clear readable summaries.
TypeScript
Challenge overview
- Format
- Build a Function
- Category
- TypeScript
- Difficulty
- Beginner
typescriptoptional-propertiesnullish-coalescingobject-types
Keep practicing
More coding challenges
JavaScript · Beginner
Highest Score
Build a JavaScript function that loops through a score array and returns the highest value without sorting or using higher order methods.
View challengePython · Beginner
Highest Score in Python
Build a Python function that loops through a score list and returns the highest value without sorting or using built-in maximum helpers.
View challengeJavaScript · Beginner
Inventory Report
Calculate total inventory value in JavaScript by looping through product objects, multiplying price by quantity, and returning the total.
View challenge

