At ECMAScript specification the SpreadElement is described
SpreadElement[Yield]:
...AssignmentExpression[In, ?Yield]
Is this the same as the Spread syntax
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.
Syntax
For function calls:
myFunction(...iterableObj);For array literals:
[...iterableObj, 4, 5, 6]
described at MDN documentation?
What are use cases of SpreadElement and, or, spread syntax; and if SpreadElement and spread syntax are different, in which specific manners do they differ?
 
     
     
     
     
     
    