Course contentsShow
JavaScript
Lesson 2615 of 2,72353. Type Safety Without TypeScriptPro lesson

Union Types and Optional Parameters

Express multiple possible types with the pipe operator and mark parameters as optional in JSDoc.

This lesson is for subscribers

You've completed the free preview. Subscribe to unlock every lesson in every course.