In this tutorial, we will learn about Data Types in JavaScript. The data type of a variable simply tells us what kind of data that variable can store and how much size of data it can hold. Java Script provides us with a variety of Data Types we will learn about these data types.
Page Contents
Primitive data types:
| Data Type | Description |
|---|---|
| String | Represents a sequence of characters e.g. “hello” |
| Number | Represents numeric values e.g. 100 |
| Boolean | Represents boolean value either false or true |
| Undefined | Represents undefined value |
| Null | Represents null i.e. no value at all |
Non-primitive data types:
| Data Type | Description |
|---|---|
| Object | Represents instance through which we can access members |
| Array | Represents a group of similar values |
| RegExp | Represents regular expression |
Parvesh Sandila is a results-driven tech professional with 8+ years of experience in web and mobile development, leadership, and emerging technologies.
After completing his Master’s in Computer Applications (MCA), he began his journey as a programming mentor, guiding 100+ students and helping them build strong foundations in coding. In 2019, he founded Owlbuddy.com, a platform dedicated to providing free, high-quality programming tutorials for aspiring developers.
He then transitioned into a full-time programmer, where his hands-on expertise and problem-solving skills led him to grow into a Team Lead and Technical Project Manager, successfully delivering scalable web and mobile solutions. Today, he works with advanced technologies such as AI systems, RAG architectures, and modern digital solutions, while also collaborating through a strategic partnership with Technobae (UK) to build next-generation products.
