var a =['beijng','shanghai','jinan'];
var b =['北京','上海','济南'];
getnewarr(a,b)
console.log(getnewarr(a,b));
function getnewarr(keyArr,valueArr) {
var obj = {};
keyArr.map( (v,i) => {
obj[keyArr[i]] = valueArr[i];
})
return obj;
}