---
title: "Discussion on \"DOT NOTATION OR BRACKET NOTATION?\" | Hashnode"
description: "Discussion on \"DOT NOTATION OR BRACKET NOTATION?\". NOTE : This article was written with the beginners in mind, and the examples are very easy to understand.\nAs most of us know, JavaScript provides two notations for accessing object properties. The first, and most common, is known as DOT NOTATION, Whi..."
url: "https://hashnode.com/posts/dot-notation-or-bracket-notation/5f9031b4c626a0545fb602c6"
---

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

Discussion

# [DOT NOTATION OR BRACKET NOTATION?](https://turacreativity.dev/dot-notation-or-bracket-notation?utm_source=hashnode&utm_medium=feed)

NOTE : This article was written with the beginners in mind, and the examples are very easy to understand. As most of us know, JavaScript provides two notations for accessing object properties. The first, and most common, is known as DOT NOTATION, Whi...

Oct 21, 2020 · 3 min read · turacreativity.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#objects](https://hashnode.com/tag/objects)
-   [#notation](https://hashnode.com/tag/notation)

## Written by

[Adeyemi Misturah](https://hashnode.com/@TuraCreativity)

@TuraCreativity · Nigeria

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

Web developer

## Responses 1

Markdown supported · ⌘↵ to post

[Luiz Filipe da Silva](https://hashnode.com/@luizfilipezs)

[Oct 21, 2020](https://hashnode.com/posts/dot-notation-or-bracket-notation/5f9031b4c626a0545fb602c6/comment/5f908b91c626a0545fb606d4)

Straight to the point. Good explanation!

PS: In your example,

```
people[person[name[firstName]]]
```

should be

```
people['person']['name']['firstName']
```

[Adeyemi Misturah](https://hashnode.com/@TuraCreativity)

[Oct 21, 2020](https://hashnode.com/posts/dot-notation-or-bracket-notation/5f9031b4c626a0545fb602c6/comment/5f908b91c626a0545fb606d4#reply-5f90ab41c626a0545fb6080e)

thank you so much for the correction
