visionmedia/jade — pull request #1666 by ForbesLindesay (2014-09-16 15:09:29+00:00)
Title: Rest args

This implements a rest arguments syntax that looks like:

```jade
mixin list(id, ...items)
ul(id=id)
each item in items
li= item

+list('my-list', 1, 2, 3, 4)
```

```html

1

2

3

4

```

This closely matches how rest arguments work in ES6 functions, and will remove any need to use `arguments` in mixins in jade. That way we can deprecate the use of `arguments` and (at some point in the future) shift all the arguments right one so we don't have to abuse `this`.