HAKATEMIA
05JavaScript

Data Types

Easy15MIN

What Are Data Types?

In JavaScript, every value has a type. A data type tells you what kind of information that value represents. For example, some values are numbers, others are text (strings), some are true/false values (booleans), and some represent missing or unknown values (undefined and null).

Think of a data type as a label on a wire that tells you what kind of thing it is pointing to.

1 / 8
Hakatemia Pro

Learn to hack — start here

Hundreds of interactive courses, virtual labs and CTF challenges in your browser. Start a free trial — no card required.