If we want to draw a circle using our helpful drawCircle function at position (300, 400) with a radius of 40 and color blue, which is the correct function call?
As a reminder, here’s the function header for drawCircle:
function drawCircle(radius, color, x, y)
JavaScript
drawCircle(300, 400, 40, Color.blue);
drawCircle(300, 400, Color.blue, 40);
drawCircle(40, Color.blue, 300, 400);
drawCircle(radius, color, x, y);
1 answer
drawCircle(40, "blue", 300, 400);