8000 Feature request: Spread syntax support in object literals · Issue #401 · jslint-org/jslint · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Feature request: Spread syntax support in object literals #401
Open
@bunglegrind

Description

@bunglegrind

Is your feature request related to a problem? Please describe.
It looks like the spread syntax in object literals is not supported in JSLint, possibly because when "how javascript works" was written wasn't still part of the ECMAScript standard.

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Spread_syntax

example:

import parseq from "./parseq.js";

export default Object.freeze({
    ...parseq
});

Describe the solution you'd like
Are there any possibilities to support spread syntax? Or there are good reasons to avoid it?

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

      0