Hi guys! I have encountered a problem with a code and I can not seem to find why it has occured.
function colorRect(leftX,topY,width,height,drawColor){
canvasContext.fillStyle = drawColor;
canvasContext.fillRect(leftX,topY,width,height);
} --> this is the function where it says that I have an error
when I try to load the page this is the error I get : SyntaxError: missing } after function body.
برچسب:
نویسنده: آیلین رضوانی
تاريخ: چهارشنبه
28 تير
1396 ساعت: 12:53