Skip to content

Use object literal shorthand #308

Open
1 of 1 issue completed
Open

Description

@Josh-Cena

What information was incorrect, unhelpful, or incomplete?

After mdn/content#39657, we need to use the shorthand syntax such as { salt } instead of { salt: salt }. We could simply run ESLint over the cod examples.

What did you expect to see?

Modern code

Do you have any supporting links, references, or citations?

No response

Do you have anything more you want to share?

No response

Sub-issues

Sub-issues

1 of 1 Issues completed
Loading 1 sub-issues

Activity

  1. added
    needs triage
    on May 27, 2025
  2. added
    good first issue
    and removed
    needs triage
    good first issue
    on May 28, 2025
  3. added
    accepting PR
    on Dec 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    accepting PR

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions