Skip to content
This repository was archived by the owner on Mar 7, 2025. It is now read-only.

(JS-0049) Avoid square-bracket notation when accessing properties #6

@IntegerAlex

Description

@IntegerAlex

Description

In JavaScript, there are two ways to access the properties of an object: - dot-notation (object.property) ( Recommended ) - square-bracket notation (object["property"]) ( Bad Practice ) The dot notation is preferred because it is easier to read, less verbose, and works better with aggressive JavaScript minimizers.

Occurrences

There are 2 occurrences of this issue in the repository.

See all occurrences on DeepSource → app.deepsource.com/gh/IntegerAlex/user-info-logger/issue/JS-0049/occurrences/

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