我试图在阵列中添加颜色
var result = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9].map(function (num) {
return Math.pow(2, num)
})
但是我收到了这个错误:
$colors:(
"facebook": "#3B5998",
"twitter": "#3CF",
"google": "#DC4A38",
"dribbble": "#F26798",
"skype": "#00AFF0"
);