javascript - Questions about for loop
天蓬老师
天蓬老师 2017-06-14 10:54:18
0
1
490

I defined an array items. The values ​​in the array were dynamically added by calling the interface through a for loop. I added an index and the childrenItems array. At the same time, I called the interface of the list in the for loop, which is childrenItems. content, so I need to nest a for loop to push the content of childrenItems, but I don’t know why my printing result is like this. Please explain it, thank you

Printed content

Written content

天蓬老师
天蓬老师

欢迎选择我的课程,让我们一起见证您的进步~~

reply all(1)
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!