Any, Unknown and Never

Talk it through with a coach who asks guiding questions and gives hints until you reach the answer. Pass to mark the challenge as completed.

The problem

  • easy
  • Pro

A code review flags a function whose parameter is typed as any. Explain what any does, why unknown is usually the better choice for a value you don't know yet, and what the never type means.

Talk this problem through with an AI coach

This is a Pro challenge. Sign in with Google, then upgrade to start a voice session.

Start free →