Four core questions

TypeScript first pass

Practice explaining what the checker catches and what JavaScript still needs to check at runtime.

Open the full lesson
Preparation options

Already comfortable with JavaScript functions and objects? Start with a question. If TypeScript is new, start with its free worked explanation. Close it and try explaining a changed example.

The Premium lesson walkthrough includes the complete local compiler fixture. That manual exercise is not run or counted here.

Need a JavaScript refresher? Review defining and calling functions or object properties. Return when you can write a small function and read two object properties.

Loading saved marks...

These are your existing question checkmarks, not verified mastery or proof that you ran the local exercise.

All four questions

Question 1 of 4

TheoryEasy

TypeScript vs JavaScript

Question

What is TypeScript, and what does it add to JavaScript? Show equivalent code in each.

Take a moment to think about this before revealing the answer

Explain your reasoning or try an implementation before comparing answers.

Saving a mark keeps this question open. You choose when to move on.

Optional follow-through

The advanced question and reference stay available. Neither adds to the four-question count or changes your existing lesson mark.