🌀 Add Bigint as a primitive type

[MDN](https://developer.mozilla.org/en-US/docs/Glossary/Primitive) considers `Bigint` as a primitive type.
pull/676/head
Menai Ala Eddine 3 years ago committed by GitHub
parent ffd79e248d
commit d9779b18ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -57,12 +57,13 @@ In the previous section, we mentioned a little bit about data types. Data or val
Primitive data types in JavaScript include:
1. Numbers - Integers, floats
2. Strings - Any data under single quote, double quote or backtick quote
3. Booleans - true or false value
1. Number - Integers, floats
2. String - Any data under single quote, double quote or backtick quote
3. Boolean - true or false value
4. Null - empty value or no value
5. Undefined - a declared variable without a value
6. Symbol - A unique value that can be generated by Symbol constructor
7. Bigint - Is a numeric primitive in JavaScript that can represent integers with arbitrary magnitude
Non-primitive data types in JavaScript includes:

Loading…
Cancel
Save