1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-02-24 03:23:08 +01:00

Add primitive types resources

* 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>
This commit is contained in:
HS 2022-08-20 03:09:01 +08:00 committed by GitHub
parent d31b7d00c2
commit 85b7574c77

View File

@ -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>