---
title: "Discussion on \"What are the types of primitive data types in JavaScript.?\" | Hashnode"
description: "Discussion on \"What are the types of primitive data types in JavaScript.?\". In JavaScript, there are six primitive data types:\n\nUndefined: represents a variable that has not been assigned a value, or a function that does not return a value.\n let x; // x is undefined because it has not been assigned a value\n\nNull: represents ..."
url: "https://hashnode.com/posts/what-are-the-types-of-primitive-data-types-in-javascript/643e111db6a5da4e6ab93ea4"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [What are the types of primitive data types in JavaScript.?](https://obianiai.hashnode.dev/what-are-the-types-of-primitive-data-types-in-javascript?utm_source=hashnode&utm_medium=feed)

In JavaScript, there are six primitive data types: Undefined: represents a variable that has not been assigned a value, or a function that does not return a value. let x; // x is undefined because it has not been assigned a value Null: represents ...

Apr 18, 2023 · 1 min read · obianiai.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#javascript-data-type](https://hashnode.com/tag/javascript-data-type)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#codingnewbies](https://hashnode.com/tag/codingnewbies)
-   [#codingnewbies](https://hashnode.com/tag/codingnewbies)

## Written by

[Ifeanyi Obiania](https://hashnode.com/@Ifeanyimiracle20)

@Ifeanyimiracle20 · Lagos, Nigeria

  
[View profile](https://hashnode.com/@Ifeanyimiracle20)

Front-End Developer

I am Ifeanyi an undergraduate student currently enrolled in the Accounting program at Adekunle Ajasin University in Akungba. Additionally, I am also a self-taught proficient web developer based in Lagos, Nigeria 🇳🇬, with expertise across several web development technologies. As a web developer, I am extremely passionate about my work and I thoroughly enjoy sharing my knowledge and experience with other junior developers. I believe in being helpful, efficient, and productive in all my endeavors, and I am constantly striving to enhance my skills and improve my knowledge base. Currently, I actively share my knowledge and projects on Twitter, and I find immense satisfaction in being able to assist other developers in their pursuits. I am always willing to engage in collaborative efforts and welcome opportunities to work with other professionals in the field.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
