Skip to content

misleading const explanation #339

@vmaark

Description

@vmaark

The const keyword means that the variable cannot be re-assigned.

As the official TypeScript documentation states:
"This should not be confused with the idea that the values they refer to are immutable."

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions