为什么我的圈圈里的颜色填充不完整呢
<!DOCTYPE html>
<html>
<head>
<script>
window.onload=function(){
var canvas=document.getElementById("myCanvas");
canvas.width=1024;
canvas.height=768;
var context=canvas.getContext("2d");
context.lineWidth=5;
context.strokeStyle="#005588";
//context.arc(300,300,200,0,1.5*Math.PI);
//context.stroke();
for(var i=0;i<10;i++){
context.beginPath();
context.arc(50+i*100,60,40,0,2*Math.PI*(i+1)/10);
context.closePath();
context.fillStyle="#005588";
context.fill();
context.stroke();
}
}
</script>
</head>
<body>
<canvas id="myCanvas"></canvas>
</body>
</html>