Skip to content

Commit bd44850

Browse files
authored
fix nested markdown
1 parent 3cb134f commit bd44850

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

1-js/04-object-basics/02-object-copy/article.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ To fix that, we should use the cloning loop that examines each value of `user[ke
229229
230230
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).
231231
232-
```smart header="Const objects can be modified"
232+
````smart header="Const objects can be modified"
233233
An important "side effect" of storing objects as references is that an object declared as `const` *can* be modified.
234234

235235
For instance:
@@ -251,7 +251,7 @@ It might seem that the line `(*)` would cause an error, but no. The value of `us
251251
In other words, the `const user` gives an error only if we try to set `user=...` as a whole, and that's all.
252252
253253
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 <info:property-descriptors>.
254-
```
254+
````
255255
256256
## Summary
257257

0 commit comments

Comments
 (0)