Which of the following is a TypeScript primitive type?

TypeScript Associate Easy

TypeScript Associate — Easy

Which of the following is a TypeScript primitive type?

Key points

  • TypeScript primitive types include boolean, number, string, null, undefined, and symbol.
  • Primitive types are immutable and have a fixed memory size.
  • Objects, functions, and arrays are not considered primitive types in TypeScript.

Ready to go further?

Related questions