Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
robotichead opened this issue Oct 4, 2024 · 2 comments
Open

Comments

@robotichead
Copy link
Collaborator

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 11 occurrences of this issue in the repository.

See all occurrences on DeepSource → app.deepsource.com/gh/nearbeach/NearBeach/issue/JS-0049/occurrences/

@belkhoujaons
Copy link

can you assign this to me ?

@aidanjbennett
Copy link
Contributor

aidanjbennett commented Oct 16, 2024

Can this be assigned to me since it looks like it has not been started

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants