GoConqr has a new look! Let us know what you think.

Mind map

variables defined with const

Tran Huu Nhan English

Map content

variables defined with const

  1. cannot be Redeclared

  2. cannot be Reassigned

  3. have Block Scope

  4. must be Assigned

  5. always declare a variable with const

    • Unless you know that the value will change
  6. when declare:

    • New Array new Object new Function new RegExp
  7. 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

Information

Description
Mind Map on variables defined with const, created by Tran Huu Nhan on 04/02/2022.
Created by
Tran Huu Nhan
Views
1
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?