<table class="javascript">
<tr class="li1"><td class="ln"><pre class="de1">1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 arr arr.item console.item item arr arr. 截取掉,forEach循环自动停止,为了不影响原数组,再将原数组重新赋值 console.arr forEach循环内部原理:
<table class="javascript">
<tr class="li1">