---
title: "Discussion on \"JavaScript L-1\" | Hashnode"
description: "Discussion on \"JavaScript L-1\". Dot vs Bracket Operator.\nconst people = {\n    name: \"J\",\n    age: 20,\n    \"people hobbies\": [\"guitar\", \"sleeping\", \"dancing\", \"music\"]\n}\n//Dot Operator\nconsole.log(people.age);\n// but if there is space between names then. won't work so we use []\n// e..."
url: "https://hashnode.com/posts/javascript-l-1/63d0d505ab6da2b6407e6c43"
---

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

Discussion

# [JavaScript L-1](https://techbyjeevika.io/javascript-l-1?utm_source=hashnode&utm_medium=feed)

Dot vs Bracket Operator. const people = { name: "J", age: 20, "people hobbies": \["guitar", "sleeping", "dancing", "music"\] } //Dot Operator console.log(people.age); // but if there is space between names then. won't work so we use \[\] // e...

Jan 25, 2023 · 1 min read · techbyjeevika.io  
Read the article

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

## Written by

[Jeevika Sirwani](https://hashnode.com/@JeevikaSirwani)

@JeevikaSirwani

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
