Announcement

Collapse
No announcement yet.

javascript can const be changed

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • javascript can const be changed

    javascript can const be changed.

    Code:
    const x = 10;
    is this x variable value is reassignable?

  • #2
    in javascript const value is not mutable for boolean, string, number types, and for object and array can be changeable because this are reference

    Comment

    Related Topics

    Collapse

    Working...
    X