JavaScript question detail
What are primitive data types
A primitive data type is data that has a primitive value (which has no properties or methods). There are 7 types of primitive data types.
- string
- number
- boolean
- null
- undefined
- bigint
- symbol
JavaScript question detail
A primitive data type is data that has a primitive value (which has no properties or methods). There are 7 types of primitive data types.