阅读背景:

使用数组值作为数组名称

来源:互联网 

I am using 5 arrays and 2 FOR loops to create a set of divs on a page, but the inner loop is not working properly and is returning UNDEFINED for some items. I know the reason for this is because because it is using the length of the actual colour name [red(3),orange(6), green(5), blue(4)] instead of the actual length of those arrays. I am using 5 arrays and 2 FOR loops to create a




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: