Skip to content

Variables, Task 1: Change the "name" variable to avoid ambiguity for deprecated naming #3126

@aseiis

Description

@aseiis

The first task of the variables page suggest to declare and use two variables :
admin and name.

Using name as the name of the variable can be confusing and code editors will show a warning: 'name' is deprecated.ts(6385)
lib.dom.d.ts(17693, 5): The declaration was marked as deprecated here. (VSCode)

name variable should be renamed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions