Types in JavaScript
Overview of all the types in JavaScript.
We'll cover the following
Types of types
Types in JavaScript group together similar kinds of values. We can further categorize these types into the following:
- Primitive values
- Objects and functions
Let’s look at these in detail.
Primitive values
Primitive values are immutable values in JavaScript.
Before we see an example, let’s forget what immutable means outside of a coding context. Below is a visualization of how an increment operator works.
Get hands-on with 1200+ tech skills courses.