dataPoints: [
for(i = 0;i<json.data.length;i++){
{ label: json.data[i][1], y: parseInt(json.data[i][2])}
}]
I encountered an issue with the code above and observed an error in the console.
The SyntaxError message states: "missing 'of' after for."
I have tried researching on Google to find a solution, but no relevant information could explain why this error is occurring. Can anyone provide insight into this issue?