Lesson 3 of 50

JavaScript Data Types

Data types describe the kind of data a variable can hold. JavaScript is flexible and supports many data types.

Common Data Types

let text = "JavaScript";
let number = 100;
let isLearning = true;
let tools = ["HTML", "CSS", "JS"];

Each data type is used for a specific purpose. Understanding them is essential for writing correct programs.

← Previous Next Lesson →