title: JSON "SyntaxError: Unexpected token '&'. Expected a property name."
body: <p>Getting an error in browser console, <code>SyntaxError: Unexpected token '&amp;'. Expected a property name.</code>. I'm simply trying/testing to log the json data.</p>
  
  <pre><code>$var = {{ json_encode($daily_clicks) }};
  console.log($var);
  </code></pre>
  
  <p><strong>$daily_clicks</strong> data being passed:</p>
  
  <pre><code>{
    "Feb 6, 2016": 0,
    "Feb 7, 2016": 0,
    "Feb 8, 2016": 7,
    "Feb 9, 2016": 5,
    "Feb 10, 2016": 0,
    "Feb 11, 2016": 0,
    "Feb 12, 2016": 0
  }
  </code></pre>
  
  <p>Any idea why I'm getting that error?</p>
  
  <p>In web console, data is being displayed as:</p>
  
  <pre><code>$var = {&amp;quot;Feb 6, 2016&amp;quot;:0,&amp;quot;Feb 7, 2016&amp;quot;:0,&amp;quot;Feb 8, 2016&amp;quot;:7,&amp;quot;Feb 9, 2016&amp;quot;:5,&amp;quot;Feb 10, 2016&amp;quot;:0,&amp;quot;Feb 11, 2016&amp;quot;:0,&amp;quot;Feb 12, 2016&amp;quot;:0};
  </code></pre>