Skip to content

ES6 Spread syntax not work #971

@pranaysonisoft

Description

@pranaysonisoft

Spread syntax allows an iterable such as an array expression or string to be expanded in places where zero or more arguments (for function calls) or elements (for array literals) are expected, or an object expression to be expanded in places where zero or more key-value pairs (for object literals) are expected.

`
let cold = ['autumn', 'winter'];

let warm = ['spring', 'summer'];

cold.push(...warm); `

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