---
title: "Discussion on \"Recurring object properties - JS\" | Hashnode"
description: "Discussion on \"Recurring object properties - JS\". If you ever get into trouble (and I'm sure you did) when trying to access a property of a JS object which does not exist twice, you will definitely get the red alert in the console.\nExample: \nconst obj = {};\n\nconsole.log(obj.foo.bar);\n\nIn order to fi..."
url: "https://hashnode.com/posts/recurring-object-properties-js/5f86ac684f98e6438943643d"
---

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

Discussion

# [Recurring object properties - JS](https://electron.hashnode.dev/recurring-object-properties-js?utm_source=hashnode&utm_medium=feed)

If you ever get into trouble (and I'm sure you did) when trying to access a property of a JS object which does not exist twice, you will definitely get the red alert in the console. Example: const obj = {}; console.log(obj.foo.bar); In order to fi...

Oct 14, 2020 · 1 min read · electron.hashnode.dev  
Read the article

-   [#js](https://hashnode.com/tag/js)
-   [#props](https://hashnode.com/tag/props)

## Written by

[Cristian Gherghel](https://hashnode.com/@electron)

@electron · Transilvania, RO

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

art

I am a web dev, specialized in FE technologies, but also very comfortable in BE.

## Responses 1

Markdown supported · ⌘↵ to post

[Hashnode](https://hashnode.com/@hashnode)

[Oct 14, 2020](https://hashnode.com/posts/recurring-object-properties-js/5f86ac684f98e6438943643d/comment/5f86aed84f98e64389436462)

**Post delisted:** Duplicate of [electron.hashnode.dev/recurring-object-properties…](https://electron.hashnode.dev/recurring-object-properties-js-1)
