Consider the code snippet:
function drawCircle(radius, color, x, y){
var circle = new Circle(radius);
circle.setColor(color);
circle.setPosition(x, y);
add(circle);
}
What is the return value for this function?
the radius value passed to drawCircle
the color passed to drawCircle
the x and y coordinates passed to drawCircle
this function has no return value
1 answer
This function has no return value.