title: Pass default parameter values in function react
body: <p>I got this error after updating react-native and react</p>
  
  <p>I think this is right syntax, but I don't know why this error is shown:</p>
  
  <pre><code> this.list = function(table, callback, wheredata = [],selection = '',extra = '') {
  </code></pre>
  
  <blockquote>
    <p>SyntaxError: Unexpected token =<br>
    at exports.runInThisContext (vm.js:53:16)<br>
    at Module._compile (module.js:387:25)<br>
    at Object.Module._extensions..js (module.js:422:10)<br>
    at Module.load (module.js:357:32)<br>
    at Function.Module._load (module.js:314:12)<br>
    at Module.require (module.js:367:17)<br>
    at require (internal/module.js:16:19)<br>
    at Object. (/Users/apcrat/Documents/redux/delfoo_React/api/model/catalog/cuisine_route.js:7:12)<br>
    at Module._compile (module.js:413:34)<br>
    at Object.Module._extensions..js (module.js:422:10)</p>
  </blockquote>