Skip to content

Property shorthand #12

@MMortaga

Description

@MMortaga

An important rule to follow when writing clean code is using the property shorthand method, for example:
👎 response.end(JSON.stringify({ err: err }));
Can be replaced with this:
👍 response.end(JSON.stringify({ err }));

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