Types Definition

Introduction to JavaScript types.

We'll cover the following

Introduction

At times, we need to deal with multiple kinds of data. Some were assigned to variables, while others were used in arithmetic operations. We could see specific attributes in all the data, and they could be grouped together as a whole. When we group these similar values of similar characteristics, they are called types.

In JavaScript, types group a set of values together that have the same attributes. For instance, 1, 2 and 3 are all numbers in JavaScript.

Get hands-on with 1200+ tech skills courses.