From 44a6c12654021afe4a678284a7953ba7df2b524c Mon Sep 17 00:00:00 2001 From: Rizky <41568558+rizkyzhang@users.noreply.github.com> Date: Sun, 16 Feb 2020 11:14:09 +0700 Subject: [PATCH] Fix typo --- 1-js/04-object-basics/01-object/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-js/04-object-basics/01-object/article.md b/1-js/04-object-basics/01-object/article.md index aaafacd6..51fbbb86 100644 --- a/1-js/04-object-basics/01-object/article.md +++ b/1-js/04-object-basics/01-object/article.md @@ -305,7 +305,7 @@ Later we'll see workarounds for the problem: 1. We'll see how to make an objects treat `__proto__` as a regular property in the chapter [](info:prototype-methods). 2. There's also study another data structure [Map](info:map-set) in the chapter , which supports arbitrary keys. -## Property existance test, "in" operator +## Property existence test, "in" operator A notable objects feature is that it's possible to access any property. There will be no error if the property doesn't exist! Accessing a non-existing property just returns `undefined`. It provides a very common way to test whether the property exists -- to get it and compare vs undefined: