Skip to content

Error message when redeclaring constant #25

@martin-henz

Description

@martin-henz

In REPL, we currently have:
const a = 1;
undefined
const a = 2;
Line 1: Redeclaring variable a

Can we instead please have

Line 1: Redeclaring name a

The background: We try to avoid the term "variable" in Chapters 1 and 2. Instead, we use the term "name", or "constant".

Metadata

Metadata

Labels

EnhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions