具有多个值的多数组/对象

时间:2015-09-09 01:51:48

标签: javascript arrays

有没有办法创建一个由以下列表组成的数组或对象:29.924%18.095%,32.933%15.503%,24.791%7.725% (数字,字符和逗号)

1 个答案:

答案 0 :(得分:0)

YES

var UltimateMixedArray = ["15.33%", 15.4, ",", "AayQ!", {name: 'Key', a: [0,1]}, 0, [333, 333, 111, 222, []]];