You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 1-js/04-object-basics/01-object/article.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -305,7 +305,7 @@ Later we'll see workarounds for the problem:
305
305
1. We'll see how to make an objects treat `__proto__` as a regular property in the chapter [](info:prototype-methods).
306
306
2. There's also study another data structure [Map](info:map-set) in the chapter <info:map-set>, which supports arbitrary keys.
307
307
308
-
## Property existance test, "in" operator
308
+
## Property existence test, "in" operator
309
309
310
310
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:
0 commit comments