Question · JavaScript and TypeScript course · Module 6: TypeScript Basics

Relationship Between TypeScript and JavaScript

What is the relationship between TypeScript and JavaScript?

Answer options

  • TypeScript is a superset of JavaScript - every JS code is valid TS code
  • TypeScript is a completely different language from JavaScript
  • TypeScript and JavaScript have nothing in common
  • JavaScript is a superset of TypeScript

You can check the correct answer by solving this task in the CodeWorlds game.