title: Parsing error: Unexpected token, expected ";" line 54 in .map function
body: <p>I have the error:  Parsing error: Unexpected token, expected ";" on line 54 where it says fill: false. I do not know what i wrong with my map function. I have the following code in my render function.</p>
  
  <pre><code>let forHover = this.state.forHover;
    let chartData = this.state.chartData;
      const theData = {
    labels: ['Scatter'],
    datasets: [
      chartData.map((data, index) =&gt; {
            label: 'Cars From Your Search',
            fill: false,
            backgroundColor: color[index],
            pointBorderColor: color[index],
            pointBackgroundColor: '#fff',
            pointBorderWidth: 1,
            pointHoverRadius: 5,
            pointHoverBackgroundColor: color[index],
            pointHoverBorderColor: color[index],
            pointHoverBorderWidth: 2,
            pointRadius: 5,
            pointHitRadius: 5,
            data: data
        });
    ]
  };
  </code></pre>