# JavaScript Data Types

*noun*

say it: **“JAH-vuh-skript DAY-tuh types”** **/ˈdʒɑːvəskrɪpt ˈdeɪtə taɪps/**

The kinds of values JavaScript works with: string, number, boolean, null, undefined, bigint, symbol and object.

## What are the basic **Data Types** in JavaScript?

JavaScript basic **data types** are `string`, `number` and `boolean`.
The data type of a variable is inferred based on 
the value.

All other data types that we use are made up of these
types.

```javascript
//strings
let firstName = "Sandra"; //string
let age = 19; //number
let isEmployed = true; // boolean
```

## In a sentence

- “Learning the **JavaScript data types** helped me see why "7" and 7 act differently.”

Level: Novice · [More JavaScript terms at this level](https://www.ask-codey.com/glossary?category=javascript&level=1)

Updated: November 9, 2026

Source: https://www.ask-codey.com/glossary/javascript-data-types
