---
title: "Discussion on \"Recurring object properties - JS\" | Hashnode"
description: "Discussion on \"Recurring object properties - JS\". If you ever get into troubles (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 f..."
url: "https://hashnode.com/posts/recurring-object-properties-js-1/5f86ac3e4f98e64389436435"
---

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

Discussion

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

If you ever get into troubles (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 f...

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

Markdown supported · ⌘↵ to post

No responses yet.
