Return Types
Specify what type a function returns.
Explicit Return Types
Inferred Return Types
void Return Type
Multiple Return Types
Object Return Type
Array Return Type
never Return Type
Promise Return Type
Exercise: Add Return Types
Add explicit return types to these functions:
Up next · Lesson 11 of 34
Optional Parameters
1 min read
10 of 34 lessons done

Ask Byte about this lesson
A private chat about this lesson. Byte has read the whole lesson, answers in seconds, and shows the section each answer comes from. Ask follow-ups in any language.
Questions & Answers
Public questions about this lesson. The AI Tutor answers right away in your language, the FreeAcademy team checks answers, and every learner can read them.

