TypeScript

BeginnerLesson 9 of 1825 min, hands-on

Optional, Readonly, and Nullable

Part of the TypeScript course

The single most common runtime error in JavaScript reads like this ...

What you'll learn

  • Optional properties
  • Readonly properties
  • non-null assertion operator
  • Optional chaining
  • Nullish coalescing
  • strictNullChecks

Work through Optional, Readonly, and Nullable

Sign in free and open the TypeScript course. Work through the lesson, and ask the AI tutor when you get stuck.