ariya/esprima — pull request #261 by DmitrySoshnikov (2014-06-02 03:47:15+00:00)
Title: [ES6] Pattern params default values

Per latest ES6 draft [1], function parameters that are destructuring patterns
may have default values. This diff allows parsing `AssignmentExpression`
that follows the pattern and `=`.

See tests attached for details.

[1] https://people.mozilla.org/~jorendorff/es6-draft.html#sec-function-definitions

```
FormalParameter : BindingElement

BindingElement : BindingPattern Initializer[opt]
```