Skip to content

Commit e62dfd5

Browse files
authored
Merge pull request #689 from elie222/patch-1
Spelling fix
2 parents d138bb3 + 59650ec commit e62dfd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ alert(obj.__proto__); // [object Object], didn't work as intended
220220
221221
As we see from the code, the assignment to a primitive `5` is ignored.
222222
223-
That can become a source of bugs and even vulnerabilies if we intend to store arbitrary key-value pairs in an object, and allow a visitor to specify the keys.
223+
That can become a source of bugs and even vulnerabilities if we intend to store arbitrary key-value pairs in an object, and allow a visitor to specify the keys.
224224
225225
In that case the visitor may choose "__proto__" as the key, and the assignment logic will be ruined (as shown above).
226226

0 commit comments

Comments
 (0)