vue
https://www.w3cplus.com/vue/vue-two-way-binding-object-defineproperty.html
var a = {};
Object.defineProperty(a, 'b', { set: function(newValue) { console.log('你要赋值给我,我的新值是:'+ newValue); }, get: function() { console.log("你取我的值"); return 2;
}
});