* Update 100-primitive-types.md * Update content/roadmaps/106-javascript/content/102-javascript-datatypes/100-primitive-types.md Co-authored-by: Kamran Ahmed <kamranahmed.se@gmail.com>pull/1657/head
parent
d31b7d00c2
commit
85b7574c77
1 changed files with 15 additions and 1 deletions
@ -1 +1,15 @@ |
|||||||
# Primitive types |
# Primitive Types |
||||||
|
|
||||||
|
In JavaScript, a primitive (primitive value, primitive data type) is data that is not an object and has no methods or properties. There are 7 primitive data types: |
||||||
|
|
||||||
|
- `string` |
||||||
|
- `number` |
||||||
|
- `bigint` |
||||||
|
- `boolean` |
||||||
|
- `undefined` |
||||||
|
- `Symbol` |
||||||
|
- `null` |
||||||
|
|
||||||
|
Most of the time, a primitive value is represented directly at the lowest level of the language implementation. |
||||||
|
|
||||||
|
<BadgeLink colorScheme='yellow' badgeText='Read' href='https://developer.mozilla.org/en-US/docs/Glossary/Primitive'>Primitive</BadgeLink> |
||||||
|
Loading…
Reference in new issue