Skip to content

Commit 323f155

Browse files
authored
Merge pull request #1754 from rizkyzhang/patch-2
Update article.md
2 parents 1c5b07c + 2cd077c commit 323f155

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

+3-3
Original file line numberDiff line numberDiff line change
@@ -301,9 +301,9 @@ As for now, it's important to know that such behavior of `__proto__` can become
301301

302302
The problem is that a visitor may choose `__proto__` as the key, and the assignment logic will be ruined (as shown above).
303303

304-
Later we'll see workarounds for the problem:
305-
1. We'll see how to make an objects treat `__proto__` as a regular property in the chapter [](info:prototype-methods).
306-
2. There's also study another data structure [Map](info:map-set) in the chapter <info:map-set>, which supports arbitrary keys.
304+
There are two workarounds for the problem:
305+
1. Modify the object's behavior to treat `__proto__` as a regular property. We'll learn how to do it in the chapter [](info:prototype-methods).
306+
2. Using [Map](info:map-set) data structure which supports arbitrary keys. We'll learn it in the chapter <info:map-set>.
307307

308308
## Property existence test, "in" operator
309309

0 commit comments

Comments
 (0)