when we are using javascript variable declaration, Javascript has to use define data type with a variable value. Data Type is a common thing in a programming language.
Javascript have two type data.
- Primitive Type
Non-Primitive Type or reference Type
Primitive Type
-> number
-> string
-> Big Int
-> undefined
-> null
-> booleanNon-primitive /reference /Object
-> function
-> object
-> Array
Reference: https://js.zonayed.me/basic/post-3
Top comments (0)