Mapa mental
variables defined with const
Contenido del mapa
variables defined with const
cannot be Redeclared
cannot be Reassigned
have Block Scope
must be Assigned
always declare a variable with const
- Unless you know that the value will change
when declare:
- New Array new Object new Function new RegExp
does not define a constant value
- You can NOT 1.Reassign a constant 2.valueReassign a constant 3.arrayReassign a constant object
- you CAN: 1.Change the elements of constant array 2.Change the properties of constant object
Información
- Descripción
- Mapa Mental sobre variables defined with const, creado por Tran Huu Nhan el 04/02/2022.
- Creado por
- Tran Huu Nhan
- Visitas
- 1
- Valoración