From bd448509d279bf39566a83460e316d282798be17 Mon Sep 17 00:00:00 2001 From: joaquinelio Date: Tue, 24 Nov 2020 01:27:40 -0300 Subject: [PATCH] fix nested markdown --- 1-js/04-object-basics/02-object-copy/article.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/1-js/04-object-basics/02-object-copy/article.md b/1-js/04-object-basics/02-object-copy/article.md index bbaff9ca..98f67a90 100644 --- a/1-js/04-object-basics/02-object-copy/article.md +++ b/1-js/04-object-basics/02-object-copy/article.md @@ -229,7 +229,7 @@ To fix that, we should use the cloning loop that examines each value of `user[ke We can use recursion to implement it. Or, not to reinvent the wheel, take an existing implementation, for instance [_.cloneDeep(obj)](https://lodash.com/docs#cloneDeep) from the JavaScript library [lodash](https://lodash.com). -```smart header="Const objects can be modified" +````smart header="Const objects can be modified" An important "side effect" of storing objects as references is that an object declared as `const` *can* be modified. For instance: @@ -251,7 +251,7 @@ It might seem that the line `(*)` would cause an error, but no. The value of `us In other words, the `const user` gives an error only if we try to set `user=...` as a whole, and that's all. That said, if we really need to make constant object properties, it's also possible, but using totally different methods, we'll mention that in the chapter . -``` +```` ## Summary