MDN Web Docs
developer.mozilla.org › en-US › docs › Glossary › Primitive
Primitive - Glossary | MDN
This auto-boxing behavior is not observable in JavaScript code but is a good mental model of various behaviors — for example, why "mutating" primitives does not work (because str.foo = 1 is not assigning to the property foo of str itself, but to an ephemeral wrapper object). ... This page was last modified on Jul 11, 2025 by MDN contributors. View this page on GitHub • Report a problem with this content
Videos
13:54
JavaScript Types Explained: Primitive vs. Reference - YouTube
16:41
Primitive and Reference Data Types in JavaScript, Simplified - YouTube
19:38
JavaScript Primitive Data Types - YouTube
13:58
#7 JavaScript Data Types | JavaScript Full Tutorial - YouTube
Primitive Data Types
10:59
Advanced JavaScript Tutorial in Hindi #5: Reference Data Type vs ...
GitHub
gist.github.com › dwivediamit › 4152f126deedab69b7c2050d38883f44
JavaScript primitive types.md · GitHub
There are 7 primitive data types: string, number, bigint, boolean, undefined, symbol, and null.
W3Schools
w3schools.com › js › js_datatypes.asp
JavaScript Data Types
JS Data Types JS Primitive Data JS Object Types JS typeof JS toString() JS Type Conversion JS Errors
GeeksforGeeks
geeksforgeeks.org › javascript › primitive-and-non-primitive-data-types-in-javascript
Primitive and Non-primitive data-types in JavaScript - GeeksforGeeks
Primitive data types are the built-in data types provided by JavaScript. They represent single values and are not mutable.
Published July 23, 2025
GitHub
github.com › jonschlinkert › is-primitive
GitHub - jonschlinkert/is-primitive: Is the typeof value a javascript primitive?
The Mozilla docs for "Primitive values" defines specifies six data types that are primitives: Boolean · Null · Undefined · Number · String ·
Starred by 37 users
Forked by 9 users
Languages JavaScript
Cocktailjs
cocktailjs.github.io › blog › properties-and-non-primitives.html
Blog | Properties & Non Primitive Values | CocktailJS
JavaScript has five primitive data types: String, Number, Boolean, Null and Undefined.
Suwebdev
suwebdev.github.io › WATS-3020-gitbook › data-types › 54-other-primitive-data-types.html
5.4 Other Primitive Data Types · GitBook
JavaScript also gives us a few Data Types that are used in more specific ways: Boolean, Undefined, Null, and Symbols.
Codecademy
codecademy.com › docs › javascript › data types
JavaScript | Data Types | Codecademy
May 15, 2024 - Data types are used to classify eight fundamental values used for programming in JavaScript, including primitive and object types.
Mozilla
developer.mozilla.org › en-US › docs › Web › JavaScript › Guide › Data_structures
JavaScript data types and data structures - JavaScript | MDN
The resulting primitive is then subject to further coercions depending on the context. JavaScript Data Structures and Algorithms by Oleksii Trekhleb · Computer Science in JavaScript by Nicholas C. Zakas ... This page was last modified on Jul 8, 2025 by MDN contributors. View this page on GitHub ...
Scaler
scaler.com › topics › what-are-the-primitive-data-types-in-javascript
What are the Primitive Data Types in JavaScript? - Scaler Topics
October 27, 2022 - Every programming language has data types that are used for storing values in the variable to perform a logical or mathematical operation. Similarly, we have data types in javascript that can be broadly divided into two groups such as primitive and non-primitive.
Ga-wdi-exercises
ga-wdi-exercises.github.io › wdi22-javascript-cheatsheets › primitive_data_types.html
Primitive Data Types | wdi22-javascript-cheatsheets
typeof(10) // this is a number typeof("10") // this is a string "10" === 10 // this will evaluate false because 10 and "10" are not of the same data type "10" == 10 // this will evaluate true because the double == only checks if the value are the same while ignoring data types typeof(NaN) // NaN means 'Not a Number' but it will evaluate as a number.