🌐
Mozilla
developer.mozilla.org › en-US › docs › Web › JavaScript › Guide › Data_structures
JavaScript data types and data structures - JavaScript | MDN
This article attempts to list the built-in data structures available in JavaScript and what properties they have. These can be used to build other data structures. The language overview offers a similar summary of the common data types, but with more comparisons to other languages.
🌐
W3Schools
w3schools.com › js › js_datatypes.asp
JavaScript Data Types
Booleans are often used in conditional testing. ... JavaScript Objects represent complex data structures and functionalities beyond the primitive data types (string, number, boolean, null, undefined, symbol, bigint).
🌐
GeeksforGeeks
geeksforgeeks.org › javascript › javascript-data-types
JavaScript Data Types - GeeksforGeeks
Mainly data type is stored with value (not with variable name) and is decided & checked at run time. ... 2. Everything is an Object (Sort of): In JavaScript, Functions are objects, arrays are objects, and even primitive values can behave like objects temporarily when you try to access properties on them.
Published   October 5, 2025
🌐
JavaScript.info
javascript.info › tutorial › the javascript language › javascript fundamentals
Data types
A value in JavaScript is always of a certain type. For example, a string or a number. There are eight basic data types in JavaScript.
🌐
Programiz
programiz.com › javascript › data-types
JavaScript Data Types (with Examples)
Here, let number = null; indicates that the number variable is set to have no value. Visit JavaScript null and undefined to learn more. A Symbol is a unique and primitive value. This data type was introduced in ES6.
🌐
BrainStation®
brainstation.io › learn › javascript › data-types
JavaScript Data Types (2025 Tutorial & Examples) | BrainStation®
February 4, 2025 - Arrays are a type of object whose keys are integers. Arrays are a key building block for complex data structures. It is important to note that JavaScript is a dynamic and weakly typed language, so the same variable can be used to hold a variety of different data types.
🌐
Mozilla
developer.mozilla.org › en-US › docs › Web › JavaScript › Guide › Grammar_and_types
Grammar and types - JavaScript | MDN
The latest ECMAScript standard defines eight data types: ... Boolean. true and false. null. A special keyword denoting a null value. (Because JavaScript is case-sensitive, null is not the same as Null, NULL, or any other variant.) undefined. A top-level property whose value is not defined. Number. An integer or floating point number.
🌐
freeCodeCamp
freecodecamp.org › news › how-to-use-variables-and-data-types-in-javascript
How to Use Variables and Data Types in JavaScript – Explained With Code Examples
August 19, 2024 - Data type simply means "type of data" 😉. The word "data" in this context means a piece of information. We'll use the word "value" sometimes to mean data and vice versa. In JavaScript, we store values of different types in variables.
🌐
Metana
metana.io › metana | career-focused coding bootcamp › full-stack › javascript data types - metana
JavaScript Data Types - Metana
March 24, 2025 - JavaScript has 7 main data types, Number, String, Boolean, Undefined, Null, Symbol, and BigInt. Data types are categorized into primitive (immutable) and reference (mutable) types.
Find elsewhere
🌐
GeeksforGeeks
geeksforgeeks.org › javascript › variables-datatypes-javascript
Variables and Datatypes in JavaScript - GeeksforGeeks
Non-primitive types are objects and can store collections of data or more complex entities. ... In JavaScript, both null and undefined represent "empty" values but are distinct types. null is a special object representing the intentional absence of a value, while undefined signifies that a variable has been declared but not assigned a value.
Published   2 weeks ago
🌐
Savvy
savvy.co.il › blog › javascript complete guide › javascript data types: complete guide with examples
JavaScript Data Types: Complete Guide with Examples | Savvy
October 13, 2024 - Understanding JavaScript data types is crucial for writing effective and bug-free code. JavaScript provides a rich set of data types, including primitive types like strings and numbers, as well as objects, arrays, and functions.
🌐
TutorialsPoint
tutorialspoint.com › javascript › javascript_data_types.htm
JavaScript - Data Types
JavaScript (ES6 and higher) allows you to work with seven primitive data types − · Strings of text e.g. "This text string" etc. Numbers, eg. 123, 120.50 etc. Boolean e.g. true or false. ... BigInt and Symbol are introduced in ES6.
🌐
Tutorial Republic
tutorialrepublic.com › javascript-tutorial › javascript-data-types.php
Understanding the JavaScript Data Types - Tutorial Republic
There are six basic data types in JavaScript which can be divided into three main categories: primitive (or primary), composite (or reference), and special data types. String, Number, and Boolean are primitive data types.
🌐
DigitalOcean
digitalocean.com › community › tutorials › understanding-data-types-in-javascript
Understanding Data Types in JavaScript | DigitalOcean
August 24, 2021 - JavaScript has dynamic data types, meaning that type checking is done at runtime rather than compile time. Python’s data types are also dynamically typed. With dynamically typed languages, a variable of the same name can be used to hold different data types. For example, the variable t, defined as a variable by the let keyword (note that let keeps a given variable limited in scope), can be assigned to hold different data types, or can be initialized but left undefined:
🌐
The Knowledge Academy
theknowledgeacademy.com › blog › javascript-data-types
Learn JavaScript Data Types - Step by Step Guide
September 9, 2025 - Primitive Data Types are known as the fundamental building blocks of JavaScript. They are immutable, meaning their values cannot be changed once assigned. Here are the five primitive Data Types in JavaScript:
🌐
web.dev
web.dev › learn › javascript › data-types
Data types and structures | web.dev
March 31, 2024 - Primitives are the simplest types of data in JavaScript. A primitive literal is a value, with no wrapper or properties of its own. Primitive literals are immutable, meaning they can't be changed to represent other values in the same way that ...
🌐
GreatFrontEnd
greatfrontend.com › questions › quiz › what-are-the-various-data-types-in-javascript
What are the various data types in JavaScript? | Quiz Interview Questions with Solutions
September 5, 2021 - BigInt: Represents integers with arbitrary precision. ... Object: Used to store collections of data. Array: An ordered collection of data. Function: A callable object. Date: Represents dates and times. RegExp: Represents regular expressions. Map: A collection of keyed data items. Set: A collection of unique values. The primitive types store a single value, while non-primitive types can store collections of data or complex entities. JavaScript, like many programming languages, has a variety of data types to represent different kinds of data.
🌐
Hyperskill
hyperskill.org › university › javascript › javascript-data-types
JavaScript Data Types
July 22, 2024 - From integers and strings to arrays and objects, each data type has its set of rules and capabilities, and understanding these nuances is crucial for writing code that is accurate and reliable. In JavaScript, primitive data types are the lowest level of data values and cannot be further de-structured.
🌐
DEV Community
dev.to › himanshudevgupta › javascript-datatype-when-consolelog-1d9j
Understanding Data Types in JavaScript - DEV Community
February 26, 2024 - Non-Primitive Data Types Non-primitive data types are mutable and store references to memory locations. They are more complex data structures and include objects, arrays, and functions. Object: Represents a collection of key-value pairs. 2, Array: Represents a collection of elements arranged in an ordered list. 3, Function: Represents executable code blocks that can be invoked. ... Always curious... ... Javascript is a dynamically typed language, so a variable can contain anything.
🌐
JavaScript Tutorial
javascripttutorial.net › home › javascript tutorial › javascript data types
JavaScript Data Types
November 15, 2024 - JavaScript data types include primitive types: undefined, null, string, boolean, number, BigInt, and symbol, and the complex type object.