title: JavaScript : Expected and assignment or function call and instead saw an expression
body: <p>I am using JSHint to ensure my JavaScript is "strict" and I'm getting the following error:</p>
  
  <p><strong>Expected an assignment or function call and instead saw an expression</strong></p>
  
  <p>On the following code:</p>
  
  <pre><code>      var str = 'A=B|C=D'
        var data = {};
        var strArr = str.split( '|' );
        for (var i = 0; i &lt; strArr.length; i++) {
            var a = strArr[i].split('=');
            a[1] &amp;&amp; (data[a[0].toLowerCase()] = a[1]);  // Warning from JSHint
        } 
  </code></pre>
  
  <p>Any ideas why I'm getting such an error or how I can code to remove the error.</p>