From b64d7af3efa443bae34ba936017db86db0bc483a Mon Sep 17 00:00:00 2001 From: luc4leone Date: Fri, 19 Jul 2019 09:30:41 +0200 Subject: [PATCH] Change double quotes for backtick to fix rendering --- 1-js/04-object-basics/01-object/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-js/04-object-basics/01-object/article.md b/1-js/04-object-basics/01-object/article.md index 03a78e0b..fd2157db 100644 --- a/1-js/04-object-basics/01-object/article.md +++ b/1-js/04-object-basics/01-object/article.md @@ -232,7 +232,7 @@ As we see from the code, the assignment to a primitive `5` is ignored. 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. -In that case the visitor may choose "__proto__" as the key, and the assignment logic will be ruined (as shown above). +In that case the visitor may choose `__proto__` as the key, and the assignment logic will be ruined (as shown above). There is a way to make objects treat `__proto__` as a regular property, which we'll cover later, but first we need to know more about objects. There's also another data structure [Map](info:map-set-weakmap-weakset), that we'll learn in the chapter , which supports arbitrary keys.