要在项目中使用echarts map,请单击{ '黑龙江' 3: 127.9688,45.368 ] },{ '内蒙古' : [ 110.3467,41.4899 ] },{ '吉林' 3360 [
var from={ } let result=coord map.reduce ((accumulator,current ) )//对象合并from=object.assign ) from,curent; 返回加速器; (、); Console.log(from )用第二种方法求解赋值
` ` ` javascriptlet a=',result=array.reverse ().reduce ) (accumulator、current、currentIndex、currentValue ) ) (、); 效果的完成图