Data Types
Data types in the JavaScript language
Table of Contents
Numbers
Numbers represent quantities and measurements used in calculations and comparisons.
Code Runner Challenge
Lines: 1
Characters: 0
Output
Click "Run" in code control panel to see output ...
Strings
Strings store text data and can be combined and separated.
Code Runner Challenge
Lines: 1
Characters: 0
Output
Click "Run" in code control panel to see output ...
Booleans
Booleans represent true/false values and can be used with logical operators and conditionals.
Code Runner Challenge
Lines: 1
Characters: 0
Output
Click "Run" in code control panel to see output ...
Arrays
Arrays store collections of data that can be accessed and manipulated.
Code Runner Challenge
Lines: 1
Characters: 0
Output
Click "Run" in code control panel to see output ...
Objects
Objects store related data as key-value pairs and organize complex information.
Code Runner Challenge
Lines: 1
Characters: 0
Output
Click "Run" in code control panel to see output ...