title: Uncaught ReferenceError: Invalid left-hand side expression
body: <p>I have the following errors 5 times:</p>
  
  <blockquote>
    <p>Uncaught ReferenceError: Invalid left - hand side expression in
    postfix operation</p>
  </blockquote>
  
  <p>Do you guys sees why ? Appreciate your help !</p>
  
  <pre><code>toQueryParams: function (string, separator) {
    var match = _(string).strip().match(/([^?#]*)(#.*)?$/);
    if (!match) return {};
    return _(match[1].split(separator || '&amp;')).reduce(function (hash, pair) {
      if ((pair = pair.split('='))[0]) {
        var key = decodeURIComponent(pair.shift()),
          value = pair.length &gt; 1 ? pair.join('=') : pair[0];
        if (value != undefined) value = decodeURIComponent(value);
        if (key in hash) {
          if (!_.isArray(hash[key])) hash[key] = [hash[key]];
          hash[key].push(value);
        }
        // Uncaught ReferenceError: Invalid left - hand side expression in postfix operation
        // Uncaught ReferenceError: Invalid left - hand side expression in postfix operation
        // Uncaught ReferenceError: Invalid left - hand side expression in postfix operation
        // Uncaught ReferenceError: Invalid left - hand side expression in postfix operation
        // Uncaught ReferenceError: Invalid left - hand side expression in postfix operation
        else hash[key] = value;
      }
      return hash;
    }, {});
  },
  </code></pre>