javascript
Data Types in JavascriptjavascriptLevel1
Progress0%
Contents
Data Types in Javascript
1 / 8
Introduction
Data Types
A data type defines what kind of value a variable holds and what operations can be performed on it.
JavaScript has two categories of data types:
| Category | Types |
|---|---|
| Primitive | string, number, boolean, null, undefined, bigint, symbol |
| Non-primitive | object, array (and functions) |