Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Add support for Spread operator #954

Closed
rwaldron opened this Issue · 1 comment

2 participants

@rwaldron
Owner
function foo(a, b, c) { 
  console.log(a, b, c); 
}
var args = [ 0, 1, 2 ];

foo(...args);
let initial = [ 1, 2, 3, 4, 5 ];
let extended = [ ...initial, 6, 7, 8, 9 ];

console.log(extended); // [ 1, 2, 3, 4, 5, 6, 7, 8, 9]
@guyzmo guyzmo referenced this issue from a commit in guyzmo/jshint
@guyzmo guyzmo Added support for spread/rest operator (cf #953 and #954)
Added tests

Signed-off-by: Bernard `Guyzmo` Pratz <guyzmo+github@m0g.net>
44bf40c
@guyzmo guyzmo referenced this issue from a commit in guyzmo/jshint
@guyzmo guyzmo Added support for spread/rest operator (cf #953 and #954)
Added tests

Signed-off-by: Bernard `Guyzmo` Pratz <guyzmo+github@m0g.net>
3db0382
@guyzmo guyzmo referenced this issue from a commit in guyzmo/jshint
@guyzmo guyzmo Added support for spread/rest operator (cf #953 and #954)
Added tests

Signed-off-by: Bernard `Guyzmo` Pratz <guyzmo+github@m0g.net>
49ae357
@guyzmo guyzmo referenced this issue from a commit in guyzmo/jshint
@guyzmo guyzmo Added support for spread/rest operator (cf #953 and #954)
Added tests

Signed-off-by: Bernard `Guyzmo` Pratz <guyzmo+github@m0g.net>
82dbba4
@guyzmo

done

@valueof valueof closed this issue from a commit
@guyzmo guyzmo Added support for spread/rest operator
Closes GH-979.
Closes GH-953.
Closes GH-954.
6ab6645
@valueof valueof closed this in 6ab6645
@jugglinmike jugglinmike referenced this issue from a commit in jugglinmike/jshint
@guyzmo guyzmo Added support for spread/rest operator
Closes GH-979.
Closes GH-953.
Closes GH-954.
5b2a8c0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.