<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<script>
laoda: for (let i = 1; i <= 10; i++) {
laoer: for (let n = 1; n <= 10; n++) {
if (n % 2 == 0) {
console.log(i, n);
}
if (n + i > 10){
break laoda;
}
}
}
</script>
</body>
</html>
js中label标签的使用
最新推荐文章于 2023-10-15 16:32:40 发布