📅  最后修改于: 2022-03-11 15:02:13.340000             🧑  作者: Mango
var handler = {
get: function(target, name) {
return "Hello, " + name;
}
};
var proxy = new Proxy({}, handler);
console.log(proxy.world); // output: Hello, world