为什么我输入这些代码网页就会卡死?
<script>
var arr = ['*','##',"***","&&","****","##*"];
for(var i=0;i<arr.length;i+2){
document.write(arr[i],"<br>")
}
</script>
<script>
var arr = ['*','##',"***","&&","****","##*"];
for(var i=0;i<arr.length;i+2){
document.write(arr[i],"<br>")
}
</script>
2021-02-15
举报