eval()的替换
//function increment() {
let row = {student: 'Jack', class: '22clas', age: 23, province: {city:'gd'}};
let field = 'province.city';
var value = new Function('row', 'field','return (' + 'row.'+ field + ')')
console.log(value(row, field));
//}