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-2Lines changed: 1 addition & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -342,7 +342,6 @@ In the code above, the property `obj.test` technically exists. So the `in` opera
342
342
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.
343
343
````
344
344
345
-
346
345
## The "for..in" loop
347
346
348
347
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
531
530
532
531
**Two objects are equal only if they are the same object.**
533
532
534
-
For instance, two variables reference the same object, they are equal:
533
+
For instance, if two variables reference the same object, they are equal:
0 commit comments