Skip to content

Use object literal shorthand #308

Open
0 of 1 issue completed
Open
0 of 1 issue completed
@Josh-Cena

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

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