mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-03-06 15:00:33 -05:00
fix(curriculum): add bigint type and correct the primitive types list (#65034)
This commit is contained in:
@@ -11,7 +11,7 @@ In JavaScript, understanding the difference between primitive and non-primitive
|
||||
|
||||
These two categories of data types behave differently in terms of how they are stored in memory and how they are manipulated in your programs.
|
||||
|
||||
Primitive data types are the simplest form of data in JavaScript. They include numbers, strings, booleans, `null`, `undefined`, and symbols. These types are called "primitive" because they represent single values and are not objects.
|
||||
Primitive data types are the simplest form of data in JavaScript. They include number, bigint, string, boolean, `null`, `undefined`, and symbol. These types are called "primitive" because they represent single values and are not objects.
|
||||
|
||||
When you work with primitive data types, you're dealing directly with their values. For example, when you create a variable with a primitive value, that value is stored directly in the variable.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user