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.
|
4 years ago | |
---|---|---|
.. | ||
README.md | 4 years ago |
README.md
Declarations
Instructions
Create the following constant variables:
escapeStr
, that contains the following specials characters:`
,\
,/
,"
,'
arr
that is an array containing the values 4 and '2'obj
that is an object containing a property for each primitives:str
forString
num
forNumber
bool
forBoolean
undef
forundefined
nested
that contains- arr: an array of the 3 values: 4, undefined, '2'
- obj: an object with 3 property (str, num & bool)
nested
, arr
and obj
must be frozen to prevent changes from them.
Notions
- Primitive and Operators
- Variables
- nan-academy.github.io/js-training/examples/data-structures.js
- devdocs.io/javascript/global_objects/object/freeze