---
title: "Discussion on \"Difference between Dot notation & Bracket notation in JavaScript Objects\" | Hashnode"
description: "Discussion on \"Difference between Dot notation & Bracket notation in JavaScript Objects\". There are two ways to retrieve data from Objects in JavaScript , Dot ‘ . ’ and Bracket ‘[]’ notation. The main difference between Dot notation and ..."
url: "https://hashnode.com/posts/difference-between-dot-notation-and-bracket-notation-in-javascript-objects/622b892a740b13afd72a1258"
---

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

Discussion

# [Difference between Dot notation & Bracket notation in JavaScript Objects](https://shamgurav.hashnode.dev/difference-between-dot-notation-and-bracket-notation-in-javascript-objects?utm_source=hashnode&utm_medium=feed)

There are two ways to retrieve data from Objects in JavaScript , Dot ‘ . ’ and Bracket ‘\[\]’ notation. The main difference between Dot notation and ...

Mar 11, 2022 · 2 min read · shamgurav.hashnode.dev  
Updated Mar 20, 2022  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#js](https://hashnode.com/tag/js)
-   [#programming-tips](https://hashnode.com/tag/programming-tips)
-   [#frontend](https://hashnode.com/tag/frontend)
-   [#javascript-framework](https://hashnode.com/tag/javascript-framework)

## Written by

[Sham Gurav](https://hashnode.com/@shamgurav)

@shamgurav

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

I am Frontend developer with expertise in HTML , CSS and JavaScript . I have a very Good experience in developing websites using Angular framework , NgRx , RxJs . My Goal on this platform is to support and help the frontend developers by sharing my knowledge and experience in frontend development.

## Responses 1

Markdown supported · ⌘↵ to post

[parveen yadav](https://hashnode.com/@parveenyadav)

[Mar 12, 2022](https://hashnode.com/posts/difference-between-dot-notation-and-bracket-notation-in-javascript-objects/622b892a740b13afd72a1258/comment/622c1b65257159b552d0ec28)

Thanks for such a simple explanation. I didn't knew that.

[Sham Gurav](https://hashnode.com/@shamgurav)

[Mar 12, 2022](https://hashnode.com/posts/difference-between-dot-notation-and-bracket-notation-in-javascript-objects/622b892a740b13afd72a1258/comment/622c1b65257159b552d0ec28#reply-622c7152c86eecb52b37267b)

I am glad that you liked it.
