Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 03560a7

Browse files
committed
fix
1 parent 0ade414 commit 03560a7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

‎1-js/04-object-basics/01-object/article.md‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,6 @@ In the code above, the property `obj.test` technically exists. So the `in` opera
342342
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.
343343
````
344344
345-
346345
## The "for..in" loop
347346
348347
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
531530
532531
**Two objects are equal only if they are the same object.**
533532
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:
535534
536535
```js run
537536
let a = {};

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /