Update snippet descriptions

This commit is contained in:
Isabelle Viktoria Maciohsek
2020-10-19 18:51:03 +03:00
parent f0fbe0c3e5
commit 5e8e6f51a3
36 changed files with 97 additions and 82 deletions

View File

@ -21,8 +21,8 @@ const deepFreeze = obj => {
```js
'use strict';
const o = deepFreeze([1, [2, 3]]);
const val = deepFreeze([1, [2, 3]]);
o[0] = 3; // not allowed
o[1][0] = 4; // not allowed as well
val[0] = 3; // not allowed
val[1][0] = 4; // not allowed as well
```