for (i=0;i<=10;i++) { if (i==3) break; document.write(i); //输出012 }
for (i=0;i<=10;i++) { if (i==3) continue; document.write(i);//输出01245678910 }