Problem with a code

ساخت وبلاگ
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.
CodingForums...
ما را در سایت CodingForums دنبال می کنید

برچسب : نویسنده : codingforums بازدید : 168 تاريخ : چهارشنبه 28 تير 1396 ساعت: 12:53