---
title: "Discussion on \"Primitive and Reference Datatypes in Javascript With Examples\" | Hashnode"
description: "Discussion on \"Primitive and Reference Datatypes in Javascript With Examples\". In javascript, the datatypes are divided into two types\n\nPrimitive Type(Primitive Datatypes)\n\nNon-Primitive Type(Reference Type)\n\n\nPrimitive Type:\nwhen we declare a variable or a function after the declaration, it needs to be stored somewhere but whe..."
url: "https://hashnode.com/posts/primitive-and-reference-datatypes-in-javascript-with-examples/645facda2557eec699e2f6b6"
---

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

Discussion

# [Primitive and Reference Datatypes in Javascript With Examples](https://deepaknayak.hashnode.dev/primitive-and-reference-datatypes-in-javascript-with-examples?utm_source=hashnode&utm_medium=feed)

In javascript, the datatypes are divided into two types Primitive Type(Primitive Datatypes) Non-Primitive Type(Reference Type) Primitive Type: when we declare a variable or a function after the declaration, it needs to be stored somewhere but whe...

May 13, 2023 · 2 min read · deepaknayak.hashnode.dev  
Read the article

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

## Written by

[Deepak Nayak](https://hashnode.com/@DeepakNayak)

@DeepakNayak · Odisha, Bhubneswar

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

Hello, This is Deepak Kumar Nayak completed my B-Tech In Mechanical Engineering. i wanted to be a Fullstack Developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
