diff --git a/1-js/04-object-basics/01-object/article.md b/1-js/04-object-basics/01-object/article.md index caf5ed60..e776faad 100644 --- a/1-js/04-object-basics/01-object/article.md +++ b/1-js/04-object-basics/01-object/article.md @@ -342,7 +342,6 @@ In the code above, the property `obj.test` technically exists. So the `in` opera Situations like this happen very rarely, because `undefined` is usually not assigned. We mostly use `null` for "unknown" or "empty" values. So the `in` operator is an exotic guest in the code. ```` - ## The "for..in" loop To walk over all keys of an object, there exists a special form of the loop: `for..in`. This is a completely different thing from the `for(;;)` construct that we studied before. @@ -531,7 +530,7 @@ The equality `==` and strict equality `===` operators for objects work exactly t **Two objects are equal only if they are the same object.** -For instance, two variables reference the same object, they are equal: +For instance, if two variables reference the same object, they are equal: ```js run let a = {};