我有服务器的数据数组返回:
data.arr = [[Date.UTC(2013, 9, 17),1],[Date.UTC(2013, 9, 18),5],[Date.UTC(2013, 9, 19),2],[Date.UTC(2013, 9, 20),4]]
[0] "[Date.UTC(2013, 9, 17),1]" String
[1] "[Date.UTC(2013, 9, 18),5]" String
[2] "[Date.UTC(2013, 9, 19),2]" String
[3] "[Date.UTC(2013, 9, 20),4]" String
我只需要将值传递给接收数组 [i,y] 的函数,我需要保持关注;我需要删除“”。
[0] [Date.UTC(2013, 9, 17),1]
[1] [Date.UTC(2013, 9, 18),5]
[2] [Date.UTC(2013, 9, 19),2]
[3] [Date.UTC(2013, 9, 20),4]
怎么做?