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>
pull/1657/head
HS 2 years ago committed by GitHub
parent d31b7d00c2
commit 85b7574c77
  1. 16
      content/roadmaps/106-javascript/content/102-javascript-datatypes/100-primitive-types.md

@ -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…
Cancel
Save