Skip to content

Leading commas, why?  #180

@arjamizo

Description

@arjamizo

Chapter about leading commas says its better to use trailing comma (chapter here)

In opposite, https://gist.github.com/isaacs/357981, says that it's better to use leading commas and, personally, I prefer to do so, because it's easier to add (or comment-out) lines in object definition.

What is explanation for this suggestion?

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