Array object Unexpected identifier - Stack Overflow
给我你的怀抱
给我你的怀抱 2017-07-05 10:56:12
0
1
823

The problem is as shown in the picture,
I don’t understand why undefined is displayed in the program? The console reports an error?

给我你的怀抱
给我你的怀抱

reply all(1)
伊谢尔伦

Your array only has two items, so if you get a[3], the fourth item will of course be undefined...

The same is true for the ob object. It does not have a key of 3, but only a key of 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!