← Code LabTypeScript0/50 solved · 0%
Foundations · easy

1. Primitive Types

Annotate variables with basic types.

Define a function `greet(name, age, isStudent)` that returns a string like 'Hello Alice, age 20 (Student)'. Use explicit types for parameters.
Required in your answer: : string: number: boolean