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.
davhojt
ad1e1f316e
|
3 years ago | |
---|---|---|
.. | ||
README.md | 3 years ago |
README.md
Declarations
Instructions
Create the following constant variables:
escapeStr
: astring
which contains the following special characters:`
,\
,/
,"
and'
.arr
: an array containing the values4
and'2'
.obj
: an object containing primitive values:str
: with astring
value.num
: with anumber
value.bool
: with aboolean
value.undef
: with aundefined
value.
nested
: an object containing:arr
: an array of 3 values:4
,undefined
and'2'
.obj
: an object with 3 propertiesstr
with astring
value.num
with anumber
value.bool
with aboolean
value.
nested
, arr
and obj
must be frozen, so that their elements or properties cannot be changed.
Notions
- Primitive and Operators
- Variables
- Data Structures
- Freeze