mirror of https://github.com/01-edu/public.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
393 B
15 lines
393 B
5 years ago
|
## Nested
|
||
|
|
||
|
### Instructions
|
||
|
|
||
|
Create a `nested` constant variable that contains
|
||
|
- arr: an array of the 3 values: 4, undefined, '2'
|
||
|
- obj: an object with 3 property (str, num & bool)
|
||
|
|
||
|
`nested` and `obj` must be frozen to prevent changes from them.
|
||
|
|
||
|
|
||
|
### Notions
|
||
|
|
||
|
- https://nan-academy.github.io/js-training/examples/data-structures.js
|
||
|
- https://devdocs.io/javascript/global_objects/object/freeze
|