DEV Community

muthukumarasamy thangavel
muthukumarasamy thangavel

Posted on

JavaScript Data Types

Number-A number representing a numeric value
Bigint-A number representing a large integer
String-A text of characters enclosed in quotes
Boolean-A data type representing true or false

They are the two types of data types:
Primitive Datatype
Non-primitive Datatype

Primitive Datatype:
Numeric Type:
Number
Bigint
Non Numeric Type:
String
boolean
undefined
null
symbol

Top comments (0)