Bug 38411

Summary: [ES6] Add support for the spread operator
Product: WebKit Reporter: Erik Arvidsson <arv>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: barraclough, joepeck, kangax, mark.lam, m.goleb+bugzilla
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
URL: http://wiki.ecmascript.org/doku.php?id=harmony:spread
Bug Depends on:    
Bug Blocks: 80559    

Description Erik Arvidsson 2010-04-30 16:03:41 PDT
The spread operator is one of the approved proposals for the next version of ECMAScript (Harmony)

function f(a, b) {
  assertEquals(0, a);
  assertEquals(1, b);
}

var array = [0, 1];
f(...array);

The spread operator removes most needs of Function.prototype.apply.
Comment 1 Joseph Pecoraro 2016-06-06 20:29:43 PDT
Spread operator has been implemented for a while now! Lets close this.