Closed JeBuSBrian closed 5 years ago
In the Refactoring section, the code should have a comma at the end.
drawRect: function(x,y,h,w) { //Start by using random fill colors. ctx.fillStyle = '#'+Math.floor(Math.random()*16777215).toString(16); ctx.fillRect (x1,y1,(x2-x1),(y2-y1)); },
In the Refactoring section, the code should have a comma at the end.